Table of Contents

Class LayoutableExtensions

Namespace
CarinaStudio.Controls
Assembly
CarinaStudio.AppBase.Avalonia.dll

Extension methods for Avalonia.Layout.Layoutable.

public static class LayoutableExtensions
Inheritance
LayoutableExtensions
Inherited Members

Methods

RequestLayoutCallback(Layoutable, Action, bool)

Enqueue a call-back to be called when next layout update.

public static IDisposable RequestLayoutCallback(this Layoutable layoutable, Action callback, bool invalidateArrange = false)

Parameters

layoutable Layoutable

Avalonia.Layout.Layoutable.

callback Action

Call-back to be called.

invalidateArrange bool

True to invalidate arrange of Avalonia.Layout.Layoutable as well.

Returns

IDisposable

IDisposable represents enqueued call-back. The call-back can be dequeued by disposing the IDisposable.