This documentation is archived and is not being maintained.

ToolBarButton.Rectangle Property

Gets the bounding rectangle for a toolbar button.

[Visual Basic]
Public ReadOnly Property Rectangle As Rectangle
public Rectangle Rectangle {get;}
public: __property Rectangle get_Rectangle();
public function get Rectangle() : Rectangle;

Property Value

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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolBarButton Class | ToolBarButton Members | System.Windows.Forms Namespace | ToolBar | Visible