FormWindowState Enumeration

 

Specifies how a form window is displayed.

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

[<ComVisibleAttribute(true)>]
type FormWindowState

Member nameDescription
Maximized

A maximized window.

Minimized

A minimized window.

Normal

A default sized window.

This enumeration is used by the Form class. It represents the different states of the form. The default state is Normal.

In this example, you change the form's window state to Maximized and display the state information using a label. This example assumes that you have already created a Form named Form1.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: