ToolStripPanelRow.Bounds 屬性

定義

取得或設定 ToolStripPanelRow (包括其非用戶端項目) 相對於父控制項的大小和位置 (以像素為單位)。

public:
 property System::Drawing::Rectangle Bounds { System::Drawing::Rectangle get(); };
public System.Drawing.Rectangle Bounds { get; }
member this.Bounds : System.Drawing.Rectangle
Public ReadOnly Property Bounds As Rectangle

屬性值

Rectangle,表示大小和位置。

備註

雖然 屬性 DisplayRectangle 只會取得 控制項的用戶端元素,但 Bounds 屬性會取得非用戶端和用戶端元素。

適用於