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)


Public Enumeration WindowStartupLocation
public enum WindowStartupLocation


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.


This enumeration is used by the WindowSettings.WindowStartupLocation property.

Version Information


Supported in: 5, 4


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