Panel.AutoSizeMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[<System.ComponentModel.Browsable(true)>]
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.