Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Catrobat
IDE
WindowsShared
Common
RelayCommand
CanExecute
Catrobat.IDE.WindowsShared.Common.RelayCommand.CanExecute C# (CSharp) Method
RelayCommand Class Documentation
显示文件
Open project: Catrobat/CatrobatForWindows
CanExecute()
public
method
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. ///
return
bool
public bool CanExecute(object parameter) { return _canExecute == null ? true : _canExecute(); }
RelayCommand
CanExecute
Execute
RaiseCanExecuteChanged
RelayCommand