Skip to main content

WindowResizeReason Enumeration

Describes the reason for a Resized event.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum WindowResizeReason

Members

Unspecified0The resize reason is unknown or unspecified.
User1The resize was due to the user resizing the window, for example by dragging the window frame.
Application2The resize was initiated by the application, for example by setting one of the sizing- related properties on Window such as Width or Height.
Layout3The resize was initiated by the layout system.
DpiChange4The resize was due to a change in DPI.

See Also

Reference

Avalonia.Controls Namespace