Skip to main content

GetPreviousMeasureConstraint Method

Gets the available size constraint passed in the previous layout pass.

Definition​

Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static Size? GetPreviousMeasureConstraint(
Layoutable control
)

Parameters​

  Layoutable
The control.

Return Value​

Nullable(Size)
Previous control measure constraint, if any.

See Also​

Reference​

LayoutInformation Class
Avalonia.Layout Namespace