ToolBarButton.Rectangle 属性
定义
获取工具栏按钮的边框。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
属性值
工具栏按钮的边界 Rectangle。The bounding Rectangle for a toolbar button.
注解
如果 ToolBar 和当前按钮都是 Visible ,则此属性将检索按钮当前包含在中的边框。If the ToolBar and the current button are both Visible, then this property retrieves the bounding rectangle the button is currently contained in.