public CanExecute ( object parameter ) : bool | ||
parameter | object | THe command parameter to be passed |
Результат | bool |
public bool CanExecute(object parameter)
{
if (CanExecuteDelegate != null)
return CanExecuteDelegate(parameter);
return true;// if there is no can execute default to true
}