Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationCommands.Close Property

 

Gets the value that represents the Close command.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static RoutedUICommand Close { get; }

Property Value

Type: System.Windows.Input.RoutedUICommand

The command.

Default Values

Key Gesture

No gesture defined.

UI Text

Close

This command indicates intention to close an item (typically a file).

There is not necessarily an implementation for the command on any given object; in many cases the implementation for the command is the responsibility of the application writer.

<object property="Close"/>

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft