Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Alexandria
Common
RelayCommand
CanExecute
Alexandria.Common.RelayCommand.CanExecute C# (CSharp) Метод
Документация по классу RelayCommand
Показать файл
Открыть проект
CanExecute()
публичный
Метод
Determines whether this
RelayCommand
can execute in its current state.
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. ///
Результат
bool
public bool CanExecute(object parameter) { return _canExecute == null ? true : _canExecute(); }
RelayCommand
CanExecute
Execute
RaiseCanExecuteChanged
RelayCommand