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


Gets the X coordinate of the point the mouse cursor is resting over when the GetToolTipText event is raised.
Mouse X coordinate.

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property X As Integer
Visual Basic (Usage) Copy Code
Dim instance As ToolTipEventArgs
Dim value As Integer
 
value = instance.X
C#  
public int X {get;}

Return Value

Represents the X coordinate of the mouse cursor.

Remarks

This property is exposed in the GetToolTipText event of the root Chart object.

Use X to get the X screen coordinate of the point the mouse cursor is resting over when the GetToolTipText event is raised.

Please note that this is measured in pixels, with the point 0,0 being the the top-left corner of the chart.

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.