WindowBase.

BeginAutoSizing() Method

Summary

Begins an auto-resize operation.
Namespace
Avalonia.Controls
Containing Type
WindowBase

Syntax

protected IDisposable BeginAutoSizing()

Remarks

When an auto-resize operation is in progress any resize events received will not be cause the new size to be written to the Width and Height properties.

Return Value

Type Description
IDisposable A disposable used to finish the operation.