DelegateCommand<T> Constructors
A command that calls your parameterized delegates when Execute and CanExecute logic is invoked on the command.Name | Parameters | Description |
---|---|---|
DelegateCommand(Action<T>, Boolean) | executeMethod, useCommandManager | Initializes a new instance of the DelegateCommand<T> that can always be executed. |
DelegateCommand(Action<T>, Func<T, Boolean>, Nullable<Boolean>) | executeMethod, canExecuteMethod, useCommandManager | Initializes a new instance of the DelegateCommand<T> that can always be executed. |
DelegateCommand(Action<T>) | executeMethod | Initializes a new instance of the DelegateCommand<T> that can always be executed. |
See Also