Namespace Xui.Core.UI
Namespaces
Classes
- Border
A view that draws a background, border, and padding around a single child content view.
- HorizontalStack
A layout container that arranges its children horizontally from left to right.
Each child is measured with unconstrained width and a constrained height. The container expands to fit the combined width of all children.
- HorizontalUniformStack
A layout container that arranges its children in a horizontal stack, assigning each child the same width.
- Label
A view that displays a single line of styled text.
- VerticalStack
A layout container that arranges its children vertically from top to bottom.
Each child is measured with an unconstrained height and is allowed to take up as much vertical space as needed. The container expands to fit the combined height of all children.
- VerticalUniformStack
A layout container that arranges its children in a vertical stack, giving each child the same height.
- View
Base class for all UI elements in the Xui layout engine. A view participates in layout, rendering, and input hit testing, and may contain child views.
- ViewCollection
A base class for container views that hold and manage a list of child views. Provides methods for adding, removing, rendering, and hit testing children.
Structs
- LayoutGuide
Encapsulates the parameters and results of a layout pass (Measure, Arrange, Render) for a view.
Enums
- Direction
Indicates the semantic inline direction of content, such as left-to-right or right-to-left. Used to resolve text alignment, layout flow, and mirroring behavior.
- Flow
Controls whether layout and rendering should respect directionality and writing mode. Used to suppress mirroring and bidi-aware behavior for diagrams, graphs, and non-linguistic views.
- FlowDirection
Represents the resolved physical direction of layout flow along an axis. This is derived from WritingMode and Direction, and is used to control stacking, alignment, and layout flow along block or inline axes.
- HorizontalAlignment
Specifies how a view should be aligned horizontally within its layout bounds. Used by parent containers during layout to position the view along the inline axis.
- LayoutGuide.Align
Defines alignment of a view within a layout axis.
- LayoutGuide.LayoutPass
Flags indicating which type of layout pass is being performed. Multiple passes may be combined (e.g., Measure | Render).
- LayoutGuide.SizeTo
Defines how the view should interpret the size constraints during measurement.
- VerticalAlignment
Specifies how a view should be aligned vertically within its layout bounds. Used by parent containers to control vertical positioning along the block axis.
- WritingMode
Specifies the orientation and flow direction of text and block layout. Affects which axis is considered "block" and "inline".