Table of Contents

Namespace Xui.Core.UI.Layout

Classes

FlexBox

A container view that arranges children along a main axis with flexible sizing and wrapping. Container-level properties mirror the CSS Flex Box spec.

Grid

A container view that arranges children in a grid of rows and columns. Container-level properties mirror the CSS Grid spec.

Structs

Grid.TrackSize

Represents a single CSS grid track sizing value such as a length, fr unit, auto, min-content, max-content, minmax(), or fit-content().

Enums

FlexBox.AlignContent

Aligns flex lines along the cross axis when there is extra space (only applies when wrapping). Corresponds to the CSS align-content property on a flex container.

FlexBox.AlignItems

Sets the default cross-axis alignment for all flex items on a line. Corresponds to the CSS align-items property on a flex container.

FlexBox.Direction

Specifies the direction of the main axis along which flex items are placed. Corresponds to the CSS flex-direction property.

FlexBox.JustifyContent

Aligns flex items along the main axis when there is free space. Corresponds to the CSS justify-content property on a flex container.

FlexBox.Wrap

Controls whether flex items are forced onto a single line or can wrap onto multiple lines. Corresponds to the CSS flex-wrap property.

Grid.AlignContent

Aligns the grid along the block axis within the container when the grid is smaller than the container. Corresponds to the CSS align-content property on a grid container.

Grid.AlignItems

Sets the default block-axis alignment for all grid items within their grid areas. Corresponds to the CSS align-items property on a grid container.

Grid.AutoFlow

Controls how auto-placed items are inserted into the grid. Corresponds to the CSS grid-auto-flow property.

Grid.JustifyContent

Aligns the grid along the inline axis within the container when the grid is smaller than the container. Corresponds to the CSS justify-content property on a grid container.

Grid.JustifyItems

Sets the default justify-self for all items, aligning them along the inline axis within their grid area. Corresponds to the CSS justify-items property.

Grid.TrackSizeKind

Identifies the kind of sizing function a Grid.TrackSize represents.