WindowResizeReason Enumeration

Describes the reason for a Resized event.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
C#
public enum WindowResizeReason

Members

Unspecified0 The resize reason is unknown or unspecified.
User1 The resize was due to the user resizing the window, for example by dragging the window frame.
Application2 The resize was initiated by the application, for example by setting one of the sizing- related properties on Window such as Width or Height.
Layout3 The resize was initiated by the layout system.
DpiChange4 The resize was due to a change in DPI.

See Also