Editar

Partilhar via


WindowStartupLocation Enum

Definition

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
WindowStartupLocation
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.

Applies to