ToolStrip.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) ToolStrip.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) ToolStrip.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) ToolStrip.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Method

定義

執行設定這個控制項的指定範圍的工作。Performs the work of setting the specified bounds of this control.

protected:
 override void SetBoundsCore(int x, int y, int width, int height, System::Windows::Forms::BoundsSpecified specified);
protected override void SetBoundsCore (int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified);
override this.SetBoundsCore : int * int * int * int * System.Windows.Forms.BoundsSpecified -> unit
Protected Overrides Sub SetBoundsCore (x As Integer, y As Integer, width As Integer, height As Integer, specified As BoundsSpecified)

參數

x
Int32 Int32 Int32 Int32

控制項的新 Left 屬性值。The new Left property value of the control.

y
Int32 Int32 Int32 Int32

控制項的新 Top 屬性值。The new Top property value of the control.

width
Int32 Int32 Int32 Int32

控制項的新 Width 屬性值。The new Width property value of the control.

height
Int32 Int32 Int32 Int32

控制項的新 Height 屬性值。The new Height property value of the control.

specified
BoundsSpecified BoundsSpecified BoundsSpecified BoundsSpecified

BoundsSpecified 值的位元組合。A bitwise combination of the BoundsSpecified values.

適用於