Skip to main content
A newer version of this page is available. .

DelegateCommand Constructors

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