LinkLabel.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- 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.
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.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: