Called before showing the tooltip to get the tooltip text.
Visual Basic (Declaration) | |
---|---|
Public Event GetToolTipText() As Chart.ToolTipEventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event Chart.ToolTipEventHandler GetToolTipText() |
The event handler receives an argument of type ToolTipEventArgs containing data related to this event. The following ToolTipEventArgs properties provide information specific to this event.
Property | Description |
---|---|
HitTestResult | Gets a HitTestResult object, which provides information about the chart element the GetToolTipText event was raised for. Hit Test Result Object. |
Text | Gets the tooltip of the chart element the mouse cursor is resting over (if any), and also sets the tooltip of the chart element. The text which is going to be displayed as a Tool Tip. |
X | Gets the X coordinate of the point the mouse cursor is resting over when the GetToolTipText event is raised. Mouse X coordinate. |
Y | Gets the Y coordinate of the point the mouse cursor is resting over when the GetToolTipText event is raised. Mouse Y coordinate. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family