Skip to main content

FlexDirection Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Describes the orientation and direction along which items are placed inside the Avalonia.Controls.FlexPanel

public enum FlexDirection

Inheritance: Enum -> FlexDirection

Fields​

NameDescription
ColumnItems are placed along the vertical axis, starting from the top
ColumnReverseItems are placed along the vertical axis, starting from the bottom
RowItems are placed along the horizontal axis, starting from the left
RowReverseItems are placed along the horizontal axis, starting from the right

Column Field​

Items are placed along the vertical axis, starting from the top

public Avalonia.Controls.FlexDirection Column

ColumnReverse Field​

Items are placed along the vertical axis, starting from the bottom

public Avalonia.Controls.FlexDirection ColumnReverse

Row Field​

Items are placed along the horizontal axis, starting from the left

public Avalonia.Controls.FlexDirection Row

Remarks​

This is the default value.

RowReverse Field​

Items are placed along the horizontal axis, starting from the right

public Avalonia.Controls.FlexDirection RowReverse