語言

ToolTipEventArgs.X 屬性

定義

取得事件觸發時 GetToolTipText 滑鼠游標所在點的 X 座標。

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

屬性值

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

備註

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

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

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

適用於