Represents a container in which children are aligned in one line oriented vertically or horizontally.
Inherits: Container : UIElement : UIElementBase
Name | Type | Description |
---|---|---|
Orientation | Orientation | Arrangement of the items in the panel. |
AlignItems | AlignItems | Alignment of the children. |
JustifyItems | JustifyItems | Distribution of the children. |
Inline | Boolean | Inline element (not block). |
Gap | GapSize | The gaps between the items along the main and perpendicular axis. |
Base item properties |
Child panel elements can include a Separator.
Inserting a separator will cause the content to be split into two blocks. Everything before the separator will be aligned on the left (or top) side of the panel, and everything after the separator - on the right (or bottom).
For example:XAML
Result