WindowStartupLocation Enumeration
.NET Framework 4.5
Specifies the position that a Window will be shown in when it is first opened. Used by the Window.WindowStartupLocation property.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| 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. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.