Skip to content
On this page

Alignment

  • This container can be used for positioning its child along X and Y axes.
  • Use multiple invocations to align for X and Y axis independently.
  • By default, it takes only the required space. Therefore, it is sometimes used after the Extend component.
csharp
// horizontal alignment
.AlignLeft()
.AlignCenter()
.AlignRight()

// vertical alignment
.AlignTop()
.AlignMiddle()
.AlignBottom()
// horizontal alignment
.AlignLeft()
.AlignCenter()
.AlignRight()

// vertical alignment
.AlignTop()
.AlignMiddle()
.AlignBottom()

Released under the MIT License.