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

定义

设置一个值,该值指示当启用控件的 AutoSize 属性时控件的行为方式。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)

参数

适用于