SystemCommands.CloseWindowCommand 属性

获取用于关闭窗口的命令。

命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)

语法

声明
Public Shared Property CloseWindowCommand As RoutedCommand
    Get
    Private Set
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)

属性值

类型:System.Windows.Input.RoutedCommand
用于关闭窗口的命令。

.NET Framework 安全性

请参见

参考

SystemCommands 类

Microsoft.Windows.Shell 命名空间