[]
Utility class that helps creating an ICommand from the delegates execute and canExecute.
public class DelegateCommand : ICommand
Name | Description |
---|---|
DelegateCommand(Action<object>) | Initializes a new instance of the DelegateCommand class. |
DelegateCommand(Action<object>, Predicate<object>) | Initializes a new instance of the DelegateCommand class. |
Name | Description |
---|---|
CanExecute(object) | Defines the method that determines whether the command can execute in its current state. |
Execute(object) | Defines the method to be called when the command is invoked. |
RaiseCanExecuteChanged() | Raises the |
Name | Description |
---|---|
CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. |