ButtonBase.AutoSize 屬性
定義
取得或設定值,指出控制項是否根據其內容調整大小。Gets or sets a value that indicates whether the control 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; }
[<System.ComponentModel.Browsable(true)>]
member this.AutoSize : bool with get, set
Public Overrides Property AutoSize As Boolean
屬性值
如果控制項根據其內容自動調整大小則為 true
,否則為 false
。true
if the control automatically resizes based on its contents; otherwise, false
. 預設為 true
。The default is true
.
- 屬性