Partager via


WindowState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines constants that indicate the state of an out-of-browser application window.

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

Syntax

'Declaration
Public Enumeration WindowState
public enum WindowState

Members

Member name Description
Normal The application window is in its normal state, occupying screen space based on its Window.Height and Window.Width values.
Minimized The application window is minimized to the taskbar.
Maximized The application window is maximized to occupy the entire client area of the screen.

Remarks

This enumeration is used by the Window.WindowState property.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.