Skip to main content

WindowStartupLocation Enumeration

Determines the startup location of the window.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum WindowStartupLocation
View Source

Members​

Manual0The startup location is defined by the Position property.
CenterScreen1The startup location is the center of the screen.
CenterOwner2The startup location is the center of the owner window. If the owner window is not specified, the startup location will be Manual.

See Also​

Reference​

Avalonia.Controls Namespace