Redigera

Dela via


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

mode
AutoSizeMode

One of the AutoSizeMode values.

Applies to