StackPanelMeasureOverride Method

General StackPanel layout behavior is to grow unbounded in the "stacking" direction (Size To Content). Children in this dimension are encouraged to be as large as they like. In the other dimension, StackPanel will assume the maximum size of its children.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
protected override Size MeasureOverride(
	Size availableSize
)

Parameters

availableSize  Size
Constraint

Return Value

Size
Desired size

See Also