バージョン 24.2 (最新)

CanExecuteCommand メソッド (Utilities)

指定した System.Windows.Input.ICommandSource のコマンドが実行可能である場合は True を返します。
シンタックス
public static bool CanExecuteCommand( 
   ICommandSource commandSource
)

パラメータ

commandSource
評価するためのコマンド ソース。

戻り値の型

コマンドが実行できる場合 True を返します。
例外
例外解説
System.ArgumentNullException「commandSource」が null でした。
参照