共用方式為


CanExecuteToolEventArgs.Command 屬性

取得與這個 CanExecuteToolEventArgs 相關聯的命令。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property Command As ICommand
    Get
public ICommand Command { get; }
public:
property ICommand^ Command {
    ICommand^ get ();
}
member Command : ICommand
function get Command () : ICommand

屬性值

型別:System.Windows.Input.ICommand
ICommand ,表示與這個 CanExecuteToolEventArgs 相關聯的命令。

.NET Framework 安全性

請參閱

參考

CanExecuteToolEventArgs 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性

工具架構