Tool Tips event arguments.
Visual Basic (Declaration) | |
---|---|
Public Class ToolTipEventArgs Inherits EventArgs |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ToolTipEventArgs : EventArgs |
This class is exposed as the e parameter in the GetToolTipText event, and provides the mouse position, tooltip text (if any), and details about the chart element the mouse cursor is over when the event is raised.
The GetToolTipText event is raised several seconds after the mouse cursor is held over a relevant chart element.
The properties of ToolTipEventArgs are:
-
the Text property, used to get the tooltip for the chart element the event is raised for (note that only DataPoint, Series and LegendItem objects can have tooltips assigned to them using their appropriate ToolTip and LegendToolTip properties). This property can also be used to set the chart element's tooltip (all chart elements can have a tooltip assigned in this way).
-
the HitTestResult property, which provides information on the chart element the event was raised for.
System.Object
System.EventArgs
Dundas.Charting.WinControl.ToolTipEventArgs
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