IWindowImplResize Method

Sets the client size of the top level.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
void Resize(
	Size clientSize,
	WindowResizeReason reason = WindowResizeReason.Application
)

Parameters

clientSize  Size
The new client size.
reason  WindowResizeReason  (Optional)
The reason for the resize.

See Also