แก้ไข

แชร์ผ่าน


ToolTipEventArgs.Y Property

Definition

Gets the Y coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.

public:
 property int Y { int get(); };
public int Y { get; }
member this.Y : int
Public ReadOnly Property Y As Integer

Property Value

An integer that represents the Y coordinate of the mouse cursor.

Remarks

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

Use the Y property to get the Y screen coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.

Note that the Y coordinate is measured in pixels; the point (0,0) corresponds to the top-left corner of the chart.

Applies to