The WindowState of the Form. Valid values are:
FormWindowState.Normal FormWindowState.Maximized FormWindowState.Minimized
[Visual Basic] Public Property WindowState As FormWindowState [C#] public FormWindowState WindowState {get; set;} [C++] public: __property FormWindowState get_WindowState(); public: __property void set_WindowState(FormWindowState); [JScript] public function get WindowState() : FormWindowState; public function set WindowState(FormWindowState);
A FormWindowState that represents the window state of the form. The default is FormWindowState.Normal.
Before a form is displayed, the WindowState property is always set to FormWindowState.Normal, regardless of its initial setting. This is reflected in the Height, Left, Top, and Width property settings. If a form is hidden after it's been shown, these properties reflect the previous state until the form is shown again, regardless of any changes made to the WindowState property in the meantime
Form Class | Form Members | System.WinForms Namespace | FormWindowState