IApplication.CloseWindow(IWindow) Method

Definition

Requests that the application closes the window.

public:
 void CloseWindow(Microsoft::Maui::IWindow ^ window);
public void CloseWindow (Microsoft.Maui.IWindow window);
abstract member CloseWindow : Microsoft.Maui.IWindow -> unit
Public Sub CloseWindow (window As IWindow)

Parameters

window
IWindow

The window to close.

Applies to