System.Windows.Forms.UserControl.AutoSizeMode Property

Gets or sets how the control will resize itself.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.AutoSizeMode.GrowOnly)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.Browsable(true)]
public AutoSizeMode AutoSizeMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Controls that do not recognize the UserControl.AutoSizeMode property will function as though UserControl.AutoSizeMode was set to AutoSizeMode.GrowAndShrink. All controls that recognize the UserControl.AutoSizeMode property will, by default, grow to fit available space, but will not shrink below the value specified by the Control.Size property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0