次の方法で共有


ToolBarButton.Rectangle プロパティ

ツール バー ボタンの外接する四角形を取得します。

Public ReadOnly Property Rectangle As Rectangle
[C#]
public Rectangle Rectangle {get;}
[C++]
public: __property Rectangle get_Rectangle();
[JScript]
public function get Rectangle() : Rectangle;

プロパティ値

ツール バー ボタンの外接する Rectangle

解説

ToolBar ボタンおよび現在のボタンが両方とも Visible の場合、このプロパティはボタンが現在含まれている外接する四角形を取得します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ToolBarButton クラス | ToolBarButton メンバ | System.Windows.Forms 名前空間 | ToolBar | Visible