Share via


HitTestInfo.Bounds 屬性

定義

傳回點擊區域的邊界。

public:
 virtual property System::Drawing::Rectangle Bounds { System::Drawing::Rectangle get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Drawing.Rectangle Bounds { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Bounds : System.Drawing.Rectangle
Public Overridable ReadOnly Property Bounds As Rectangle

屬性值

矩形,會將與 ActivityDesigner 物件關聯的 HitTestInfo 包圍起來,如果物件 HitTestInfo 未與設計工具關聯則為空的矩形。

屬性

備註

邊界會描述螢幕上的點擊區域,通常是包圍關聯之 ActivityDesigner 的區域。

適用於