ToolStripItem.SetBounds(Rectangle) ToolStripItem.SetBounds(Rectangle) ToolStripItem.SetBounds(Rectangle) ToolStripItem.SetBounds(Rectangle) Method

定义

设置项的大小和位置。Sets the size and location of the item.

protected public:
 virtual void SetBounds(System::Drawing::Rectangle bounds);
protected internal virtual void SetBounds (System.Drawing.Rectangle bounds);
abstract member SetBounds : System.Drawing.Rectangle -> unit
override this.SetBounds : System.Drawing.Rectangle -> unit
Protected Friend Overridable Sub SetBounds (bounds As Rectangle)

参数

bounds
Rectangle Rectangle Rectangle Rectangle

一个 Rectangle,表示 ToolStripItem 的大小和位置。A Rectangle that represents the size and location of the ToolStripItem

适用于

另请参阅