Control.GetAutoSizeMode Method

Definition

Retrieves a value indicating how a control will behave when its AutoSize property is enabled.

protected:
 System::Windows::Forms::AutoSizeMode GetAutoSizeMode();
protected System.Windows.Forms.AutoSizeMode GetAutoSizeMode ();
member this.GetAutoSizeMode : unit -> System.Windows.Forms.AutoSizeMode
Protected Function GetAutoSizeMode () As AutoSizeMode

Returns

One of the AutoSizeMode values.

Applies to