ButtonBase.AutoSize 屬性

定義

取得或設定值,指出控制項是否根據其內容調整大小。

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

屬性值

Boolean

如果控制項根據其內容自動調整大小則為 true,否則為 false。 預設為 true

屬性

適用於