Label.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.
Sets the specified bounds of the label.
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
- specified
- BoundsSpecified
A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
Remarks
If you set the AutoSize property to true
, the label will be sized to fit the contents of the label. If you set AutoSize to false
after calling the SetBoundsCore method, the label will receive the dimensions you specified in the call.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示