| Visual Basic (Declaration) | |
|---|---|
Public Property WindowState As FormWindowState | |
| C# | |
|---|---|
public FormWindowState WindowState {get; set;} | |
Property Value
A System.Windows.Forms.FormWindowState that represents whether form is minimized, maximized, or normal. The default is FormWindowState.Normal.| Exception | Description |
|---|---|
| System.ComponentModel.InvalidEnumArgumentException | The value specified is outside the range of valid values. |