WindowResizeReason Enumeration
Describes the reason for a Resized event.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public enum WindowResizeReason
Public Enumeration WindowResizeReason
type WindowResizeReason
Members
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. |
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. |
Layout | 3 | The resize was initiated by the layout system. |
DpiChange | 4 | The resize was due to a change in DPI. |