Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowStartupLocation Enumeration

 

Specifies the position that a Window will be shown in when it is first opened. Used by the Window.WindowStartupLocation property.

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

[LocalizabilityAttribute(LocalizationCategory.None, Readability = Readability.Unreadable)]
public enum WindowStartupLocation

Member nameDescription
CenterOwner

The startup location of a Window is the center of the Window that owns it, as specified by the Window.Owner property.

CenterScreen

The startup location of a Window is the center of the screen that contains the mouse cursor.

Manual

The startup location of a Window is set from code, or defers to the default Windows location.

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft