Skip to main content

WindowStartupLocation Enum

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Determines the startup location of the window.

public enum WindowStartupLocation

Inheritance: Enum -> WindowStartupLocation

Fields

NameDescription
CenterOwnerThe startup location is the center of the owner window. If the owner window is not specified, the startup location will be Avalonia.Controls.WindowStartupLocation.Manual.
CenterScreenThe startup location is the center of the screen.
ManualThe startup location is defined by the Position property.

CenterOwner Field

The startup location is the center of the owner window. If the owner window is not specified, the startup location will be Avalonia.Controls.WindowStartupLocation.Manual.

public Avalonia.Controls.WindowStartupLocation CenterOwner

CenterScreen Field

The startup location is the center of the screen.

public Avalonia.Controls.WindowStartupLocation CenterScreen

Manual Field

The startup location is defined by the Position property.

public Avalonia.Controls.WindowStartupLocation Manual