ToolTipEventArgs.X Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the X coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.
public:
property int X { int get(); };
public int X { get; }
member this.X : int
Public ReadOnly Property X As Integer
Property Value
An integer
value that represents the X coordinate of the mouse cursor.
Remarks
This property is exposed in the GetToolTipText event of the root Chart object.
Use the X property to get the X screen coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.
Note that the X coordinate is measured in pixels; the point (0,0) corresponds to the top-left corner of the chart.