Summary
The default implementation of the control's measure pass.
- Namespace
- Avalonia
.Layout - Containing Type
- Layoutable
Syntax
protected virtual Size MeasureCore(Size availableSize)
Remarks
This method calls
MeasureOverride(Size)
which is probably the method you
want to override in order to modify a control's arrangement.
Parameters
Name | Type | Description |
---|---|---|
availableSize | Size | The size available to the control. |
Return Value
Type | Description |
---|---|
Size | The desired size for the control. |