Summary
Provides the behavior for the "Measure" pass of layout.
- Namespace
- Avalonia
.Controls - Containing Type
- Layout
Transform Control
Syntax
protected override Size MeasureOverride(Size availableSize)
Parameters
Name | Type | Description |
---|---|---|
availableSize | Size | The available size that this element can give to child elements. |
Return Value
Type | Description |
---|---|
Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |