IWindowImplResize Method
Sets the client size of the top level.
Namespace: Avalonia.PlatformAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
void Resize(
Size clientSize,
WindowResizeReason reason = WindowResizeReason.Application
)
Sub Resize (
clientSize As Size,
Optional reason As WindowResizeReason = WindowResizeReason.Application
)
abstract Resize :
clientSize : Size *
?reason : WindowResizeReason
(* Defaults:
let _reason = defaultArg reason WindowResizeReason.Application
*)
-> unit
Parameters
- clientSize Size
- The new client size.
- reason WindowResizeReason (Optional)
- The reason for the resize.