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


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