Control.SetAutoSizeMode(AutoSizeMode) Control.SetAutoSizeMode(AutoSizeMode) Control.SetAutoSizeMode(AutoSizeMode) Control.SetAutoSizeMode(AutoSizeMode) Method

Definition

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

protected:
 void SetAutoSizeMode(System::Windows::Forms::AutoSizeMode mode);
protected void SetAutoSizeMode (System.Windows.Forms.AutoSizeMode mode);
member this.SetAutoSizeMode : System.Windows.Forms.AutoSizeMode -> unit
Protected Sub SetAutoSizeMode (mode As AutoSizeMode)
Parameters

Applies to