Skip to main content

AlignmentY Enum

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Describes how content is positioned vertically in a container.

public enum AlignmentY

Inheritance: Enum -> AlignmentY

Fields

NameDescription
BottomThe contents align themselves with the bottom of the container
CenterThe contents align themselves with the center of the container
TopThe contents align themselves with the top of the container

Bottom Field

The contents align themselves with the bottom of the container

public Avalonia.Media.AlignmentY Bottom

Center Field

The contents align themselves with the center of the container

public Avalonia.Media.AlignmentY Center

Top Field

The contents align themselves with the top of the container

public Avalonia.Media.AlignmentY Top