AxHost.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) AxHost.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) AxHost.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) AxHost.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.

适用于

另请参阅