public CanExecute ( object parameter ) : bool | ||
parameter | object | /// Data used by the command. If the command does not require data to be passed, this object can be set to null. /// |
return | bool |
public bool CanExecute(object parameter)
{
return _canExecute == null ? true : _canExecute();
}