RelayCommand Constructor
RelayCommand(Action<T>)
Declaration
public RelayCommand(Action<T> execute)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | execute |
RelayCommand(Action<T>, Predicate<T>)
Declaration
public RelayCommand(Action<T> execute, Predicate<T> canExecute)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | execute | |
System.Predicate<T> | canExecute |