Class 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.
public class VerticalStack : ViewCollection, ILayerHost, IServiceProvider
- Inheritance
-
VerticalStack
- Implements
- Inherited Members
- Extension Methods
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