Control.GetAutoSizeMode 方法

定義

擷取值,表示已啟用控制項的 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

傳回

其中一個 AutoSizeMode 值。One of the AutoSizeMode values.

適用於