Partager via


WindowStartupLocation Enumeration

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

Defines constants that indicate how an out-of-browser application window is positioned at startup.

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

Syntax

'Declaration
Public Enumeration WindowStartupLocation
public enum WindowStartupLocation

Members

Member name Description
CenterScreen The application window is centered in the screen, and the WindowSettings.Top and WindowSettings.Left settings are ignored.
Manual The application window is positioned according to the WindowSettings.Top and WindowSettings.Left settings.

Remarks

This enumeration is used by the WindowSettings.WindowStartupLocation 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.