語言

ToolTipEventArgs.Y 屬性

定義

取得事件觸發時 GetToolTipText 滑鼠游標停留點的 Y 座標。

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

屬性值

一個 integer 代表滑鼠游標 Y 座標的 。

備註

此性質在根物件發生GetToolTipText時會被揭露Chart。

利用這個 Y 屬性取得事件觸發時滑鼠游標停留 GetToolTipText 點的 Y 畫面座標。

請注意,Y 座標是以像素為單位;點(0,0)對應於圖表的左上角。

適用於