Table of Contents

Class LayoutInformation

Namespace
Avalonia.Layout
Assembly
Avalonia.Base.dll

Provides access to layout information of a control.

public static class LayoutInformation
Inheritance
LayoutInformation
Inherited Members

Methods

GetPreviousArrangeBounds(Layoutable)

Gets the control bounds used in the previous layout arrange pass.

public static Rect? GetPreviousArrangeBounds(Layoutable control)

Parameters

control Layoutable

The control.

Returns

Rect?

Previous control arrange bounds, if any.

GetPreviousMeasureConstraint(Layoutable)

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

public static Size? GetPreviousMeasureConstraint(Layoutable control)

Parameters

control Layoutable

The control.

Returns

Size?

Previous control measure constraint, if any.