ToolStripItem.SetBounds(Rectangle) 方法

定義

設定項目的大小和位置。

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 的大小和位置。

適用於

另請參閱