Class VerticalUniformStack
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)
Override to arrange children within this view's final frame.
protected override void ArrangeCore(Rect rect, IMeasureContext context)
Parameters
rectRectcontextIMeasureContext
MeasureCore(Size, IMeasureContext)
Override to compute the desired border-edge size.
protected override Size MeasureCore(Size availableBorderEdgeSize, IMeasureContext context)
Parameters
availableBorderEdgeSizeSizecontextIMeasureContext