Skip to content

WindowInterop.AsWindow method

Presents an Avalonia window through the framework free contract the services take.

public static IWindow? AsWindow(this Window? window)
parameter description
window The window to present, or null.

Return Value

The window as an IWindow, or null when window is null.

See Also