Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.