Uredi

Deli z drugimi prek


ToolTipEventArgs.X Property

Definition

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.

Applies to