Rectangle Property

ToolBarButton::Rectangle Property

 

Gets the bounding rectangle for a toolbar button.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property Rectangle Rectangle {
	Rectangle get();
}

Property Value

Type: System.Drawing::Rectangle

The bounding Rectangle for a toolbar button.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft