編輯

共用方式為


ToolBarButton.Rectangle Property

Definition

Gets the bounding rectangle for a toolbar button.

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

Property Value

The bounding Rectangle for a toolbar button.

Remarks

If the ToolBar and the current button are both Visible, then this property retrieves the bounding rectangle the button is currently contained in.

Applies to

See also