Table of Contents

Enum WindowResizeReason

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Describes the reason for a Resized event.

public enum WindowResizeReason

Fields

Application = 2

The resize was initiated by the application, for example by setting one of the sizing- related properties on Window such as Width or Height.

DpiChange = 4

The resize was due to a change in DPI.

Layout = 3

The resize was initiated by the layout system.

Unspecified = 0

The resize reason is unknown or unspecified.

User = 1

The resize was due to the user resizing the window, for example by dragging the window frame.