Table of Contents

Interface ILayoutManager

Namespace
Avalonia.Layout
Assembly
Avalonia.Base.dll

Manages measuring and arranging of controls.

[PrivateApi]
public interface ILayoutManager : IDisposable
Inherited Members

Methods

ExecuteInitialLayoutPass()

Executes the initial layout pass on a layout root.

void ExecuteInitialLayoutPass()

Remarks

You should not usually need to call this method explictly, the layout root will call it to carry out the initial layout of the control.

ExecuteLayoutPass()

Executes a layout pass.

void ExecuteLayoutPass()

Remarks

You should not usually need to call this method explictly, the layout manager will schedule layout passes itself.

InvalidateArrange(Layoutable)

Notifies the layout manager that a control requires an arrange.

void InvalidateArrange(Layoutable control)

Parameters

control Layoutable

The control.

InvalidateMeasure(Layoutable)

Notifies the layout manager that a control requires a measure.

void InvalidateMeasure(Layoutable control)

Parameters

control Layoutable

The control.

RegisterEffectiveViewportListener(Layoutable)

Registers a control as wanting to receive effective viewport notifications.

void RegisterEffectiveViewportListener(Layoutable control)

Parameters

control Layoutable

The control.

UnregisterEffectiveViewportListener(Layoutable)

Registers a control as no longer wanting to receive effective viewport notifications.

void UnregisterEffectiveViewportListener(Layoutable control)

Parameters

control Layoutable

The control.

Events

LayoutUpdated

Raised when the layout manager completes a layout pass.

event EventHandler LayoutUpdated

Event Type

EventHandler