Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Align

enumeration

Description

This enumeration contains values to control how an element is aligned in its parent during the layout phase.

The cross axis of a container is perpendicular to the primary axis on which children are laid out, that is, its flex direction.

Properties

AutoDefault value (currently FlexStart).
FlexStartItems are aligned at the beginning on the cross axis.
CenterItems are centered on the cross axis.
FlexEndItems are aligned at the end on the cross axis.
StretchStretches items on the cross axis.

Did you find this page useful? Please give it a rating: