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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Performs the work of setting the bounds of this control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override void SetBoundsCore(
	int x,
	int y,
	int width,
	int height,
	BoundsSpecified specified
)

Parameters

x
Type: System.Int32

New left of the control.

y
Type: System.Int32

New right of the control.

width
Type: System.Int32

New width of the control.

height
Type: System.Int32

New height of the control.

specified
Type: System.Windows.Forms.BoundsSpecified

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

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.

.NET Framework
Available since 1.1
Return to top
Show: