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
[C#]
public Rectangle Rectangle {get;}
[C++]
public: __property Rectangle get_Rectangle();
[JScript]
public function get Rectangle() : 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.

Requirements

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

Show: