ToolStripItem.SetBounds(Rectangle) 方法

定義

設定項目的大小和位置。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,表示 ToolStripItem 的大小和位置。A Rectangle that represents the size and location of the ToolStripItem

適用於

另請參閱