Skip to main content

WindowResizedEventArgs Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Provides data for the Avalonia.Controls.WindowBase.Resized event.

public class WindowResizedEventArgs

Inheritance: EventArgs -> WindowResizedEventArgs

Properties

NameDescription
ClientSizeGets the new client size of the window in device-independent pixels.
ReasonGets the reason for the resize.

ClientSize Property

Gets the new client size of the window in device-independent pixels.

public Avalonia.Size ClientSize { get; set; }

Reason Property

Gets the reason for the resize.

public Avalonia.Controls.WindowResizeReason Reason { get; set; }