Class 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.
public class HorizontalStack : ViewCollection, ILayerHost, IServiceProvider
- Inheritance
-
HorizontalStack
- 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