Avalonia.Layout Namespace

Class Types

Class Summary
AttachedLayout Represents the base class for an object that sizes and arranges child elements for a host.
EffectiveViewportChangedEventArgs Provides data for the EffectiveViewportChanged event.
Layoutable Implements layout-related functionality for a control.
LayoutContext Represents the base class for an object that facilitates communication between an attached layout and its host container.
LayoutExtensions Extension methods for layout types.
LayoutHelper Provides helper methods needed for layout.
LayoutManager Manages measuring and arranging of controls.
NonVirtualizingLayout Represents the base class for an object that sizes and arranges child elements for a host and and does not support virtualization.
NonVirtualizingLayoutContext Represents the base class for layout context types that do not support virtualization.
NonVirtualizingStackLayout
StackLayout Arranges elements into a single line (with spacing) that can be oriented horizontally or vertically.
StackLayoutState Represents the state of a StackLayout.
UniformGridLayout Positions elements sequentially from left to right or top to bottom in a wrapping layout.
UniformGridLayoutState Represents the state of a UniformGridLayout.
VirtualizingLayout Represents the base class for an object that sizes and arranges child elements for a host and supports virtualization.
VirtualizingLayoutContext Represents the base class for layout context types that support virtualization.
VirtualLayoutContextAdapter
WrapLayout Arranges elements by wrapping them to fit the available space. When Orientation is set to Orientation.Horizontal, element are arranged in rows until the available width is reached and then to a new row. When Orientation is set to Orientation.Vertical, element are arranged in columns until the available height is reached.

Enum Types

Enum Summary
ElementRealizationOptions Defines constants that specify whether to suppress automatic recycling of the retrieved element or force creation of a new element.
HorizontalAlignment Defines how a control aligns itself horizontally in its parent control.
Orientation Defines vertical or horizontal orientation.
UniformGridLayoutItemsJustification Defines constants that specify how items are aligned on the non-scrolling or non-virtualizing axis.
UniformGridLayoutItemsStretch Defines constants that specify how items are sized to fill the available space.
VerticalAlignment Defines how a control aligns itself vertically in its parent control.

Interface Types

Interface Summary
IEmbeddedLayoutRoot A special layout root with enforced size for Arrange pass
ILayoutable Defines layout-related functionality for a control.
ILayoutManager Manages measuring and arranging of controls.
ILayoutRoot Defines the root of a layoutable tree.