Dundas Chart for Windows Forms
GetToolTipText Event
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : GetToolTipText Event


Occurs after the mouse cursor is held over a relevant chart element.
Called before showing the tooltip to get the tooltip text.

Syntax

Visual Basic (Declaration)  
Public Event GetToolTipText() As Chart.ToolTipEventHandler
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim handler As Chart.ToolTipEventHandler
 
AddHandler instance.GetToolTipText, handler
C#  
public event Chart.ToolTipEventHandler GetToolTipText()

Event Data

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.

Requirements

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

See Also

© 2009 All Rights Reserved.