Table of Contents

Class VerticalUniformStack

Namespace
Xui.Core.UI
Assembly
Xui.Core.dll

A layout container that arranges its children in a vertical stack, giving each child the same height.

public class VerticalUniformStack : ViewCollection, ILayerHost, IServiceProvider
Inheritance
VerticalUniformStack
Implements
Inherited Members
Extension Methods

Remarks

If the parent provides a constrained height, the container divides the available height equally among all children.

If the height is unconstrained (infinite), the container measures each child to determine the maximum height, and uses that height for all rows.

Methods

ArrangeCore(Rect, IMeasureContext)

Positions children within the border-edge rectangle. Frame assignment and alignment offset are handled by ArrangeShell(ref LayoutGuide).

protected override void ArrangeCore(Rect rect, IMeasureContext context)

Parameters

rect Rect
context IMeasureContext

MeasureCore(Size, IMeasureContext)

Returns the desired border-edge size given the available border-edge space. Margin, min/max clamping, and fixed-size short-circuit are handled by MeasureShell(ref LayoutGuide).

protected override Size MeasureCore(Size availableBorderEdgeSize, IMeasureContext context)

Parameters

availableBorderEdgeSize Size
context IMeasureContext

Returns

Size