This topic has not yet been rated - Rate this topic

Window.Close method

Closes the application window.

Syntax


public:
void Close()

Parameters

This method has no parameters.

Remarks

Windows Store apps typically use a single Window instance, and do not open and close additional Window instances. Additionally, you will not typically provide custom UI to enable users to close the app window.

The Closed event occurs when a Window closes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

Window

 

 

Build date: 1/31/2013

© 2013 Microsoft. All rights reserved.