Share via


SystemCommands.CloseWindowCommand Property

Gets a command that closes a window.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Shared Property CloseWindowCommand As RoutedCommand
public static RoutedCommand CloseWindowCommand { get; private set; }
public:
static property RoutedCommand^ CloseWindowCommand {
    RoutedCommand^ get ();
    private: void set (RoutedCommand^ value);
}
static member CloseWindowCommand : RoutedCommand with get, private set
static function get CloseWindowCommand () : RoutedCommand
private static function set CloseWindowCommand (value : RoutedCommand)

Property Value

Type: System.Windows.Input.RoutedCommand
A command that closes a window.

.NET Framework Security

See Also

Reference

SystemCommands Class

Microsoft.Windows.Shell Namespace