ButtonBase.AutoSize Property

Definition

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

Property Value

true if the control automatically resizes based on its contents; otherwise, false. The default is true.

Attributes

Applies to