WindowResizeReason Enumeration
Describes the reason for a
Resized event.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public enum WindowResizeReason
Public Enumeration WindowResizeReason
| 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.
|