Form.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) 方法

定义

执行设置该控件的指定边界的工作。

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

控件的新 Left 属性值。

y
Int32

控件的新 Top 属性值。

width
Int32

控件的新 Width 属性值。

height
Int32

控件的新 Height 属性值。

specified
BoundsSpecified

BoundsSpecified 值的按位组合。

适用于

另请参阅