Share via


Window.Close Method

Definition

Closes (destroys) the application window.

public:
 virtual void Close() = Close;
void Close();
public void Close();
function close()
Public Sub Close ()

Remarks

This method destroys the window. To hide the window without destroying it, call the Window.AppWindow.Hide method.

The Closed event occurs when a Window closes.

Applies to

See also