Control.GetAutoSizeMode Control.GetAutoSizeMode Control.GetAutoSizeMode Control.GetAutoSizeMode Method

定义

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

返回

适用于