Redigera

Dela via


Button.AutoSizeMode Property

Definition

Gets or sets the mode by which the Button automatically resizes itself.

public:
 property System::Windows::Forms::AutoSizeMode AutoSizeMode { System::Windows::Forms::AutoSizeMode get(); void set(System::Windows::Forms::AutoSizeMode value); };
[System.ComponentModel.Browsable(true)]
public System.Windows.Forms.AutoSizeMode AutoSizeMode { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.AutoSizeMode : System.Windows.Forms.AutoSizeMode with get, set
Public Property AutoSizeMode As AutoSizeMode

Property Value

One of the AutoSizeMode values. The default value is GrowOnly.

Attributes

Applies to