Panel.AutoSizeMode Property

Definition

Indicates the automatic sizing behavior of the control.

public:
 virtual property System::Windows::Forms::AutoSizeMode AutoSizeMode { System::Windows::Forms::AutoSizeMode get(); void set(System::Windows::Forms::AutoSizeMode value); };
[System.ComponentModel.Browsable(true)]
public virtual System.Windows.Forms.AutoSizeMode AutoSizeMode { get; set; }
member this.AutoSizeMode : System.Windows.Forms.AutoSizeMode with get, set
Public Overridable Property AutoSizeMode As AutoSizeMode

Property Value

One of the AutoSizeMode values.

Attributes

Exceptions

The specified value when setting this property is not a valid AutoSizeMode values.

Applies to