WindowStartupLocation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the position that a Window will be shown in when it is first opened. Used by the WindowStartupLocation property.
public enum class WindowStartupLocation
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public enum WindowStartupLocation
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)>]
type WindowStartupLocation =
Public Enum WindowStartupLocation
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Manual | 0 | The startup location of a Window is set from code, or defers to the default Windows location. |
CenterScreen | 1 | The startup location of a Window is the center of the screen that contains the mouse cursor. |
CenterOwner | 2 | The startup location of a Window is the center of the Window that owns it, as specified by the Owner property. |