編輯

共用方式為


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

Definition

Performs the work of setting the 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)

Parameters

x
Int32

New left of the control.

y
Int32

New right of the control.

width
Int32

New width of the control.

height
Int32

New height of the control.

specified
BoundsSpecified

Which values were specified. This parameter reflects user intent, not which values have changed.

Remarks

Inheriting classes can override this function to add size restrictions. Inheriting classes must call base.setBoundsCore to actually cause the bounds of the control to change.

Applies to