WindowResizeReason Enum
Definition
Describes the reason for a Avalonia.Controls.WindowBase.Resized event.
public enum WindowResizeReason
Fields
| Name | Description |
|---|---|
| Application | The resize was initiated by the application, for example by setting one of the sizing- related properties on Avalonia.Controls.Window such as Avalonia.Layout.Layoutable.Width or Avalonia.Layout.Layoutable.Height. |
| DpiChange | The resize was due to a change in DPI. |
| Layout | The resize was initiated by the layout system. |
| Unspecified | The resize reason is unknown or unspecified. |
| User | The resize was due to the user resizing the window, for example by dragging the window frame. |
Application Field
The resize was initiated by the application, for example by setting one of the sizing- related properties on Avalonia.Controls.Window such as Avalonia.Layout.Layoutable.Width or Avalonia.Layout.Layoutable.Height.
public Avalonia.Controls.WindowResizeReason Application