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,
frunit,auto,min-content,max-content,minmax(), orfit-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-contentproperty on a flex container.
- FlexBox.AlignItems
Sets the default cross-axis alignment for all flex items on a line. Corresponds to the CSS
align-itemsproperty on a flex container.
- FlexBox.Direction
Specifies the direction of the main axis along which flex items are placed. Corresponds to the CSS
flex-directionproperty.
- FlexBox.JustifyContent
Aligns flex items along the main axis when there is free space. Corresponds to the CSS
justify-contentproperty 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-wrapproperty.
- 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-contentproperty 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-itemsproperty on a grid container.
- Grid.AutoFlow
Controls how auto-placed items are inserted into the grid. Corresponds to the CSS
grid-auto-flowproperty.
- 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-contentproperty on a grid container.
- Grid.JustifyItems
Sets the default
justify-selffor all items, aligning them along the inline axis within their grid area. Corresponds to the CSSjustify-itemsproperty.
- Grid.TrackSizeKind
Identifies the kind of sizing function a Grid.TrackSize represents.