LinkLabel.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Method
Definition
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)
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET