GroupBox.AutoSize 屬性

定義

取得或設定值,指出 GroupBox 是否根據其內容調整大小。Gets or sets a value that indicates whether the GroupBox resizes based on its contents.

public:
 virtual property bool AutoSize { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(true)]
public override bool AutoSize { get; set; }
member this.AutoSize : bool with get, set
Public Overrides Property AutoSize As Boolean

屬性值

如果 GroupBox 根據其內容自動調整大小則為 true,否則為 falsetrue if the GroupBox automatically resizes based on its contents; otherwise, false. 預設為 trueThe default is true.

屬性

適用於