GetFinalConstraint(Control, Int32, Size) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Gets the final constraint for the second pass of the two-pass measure.

protected virtual Size GetFinalConstraint(Control element, int index, Size availableSize)

Parameters

element
Avalonia.Controls.Control

The element being measured.

index
Int32

The index of the element.

availableSize
Avalonia.Size

The available size.

Returns

Avalonia.Size
The measure constraint for the element.