[]
Utility class that helps creating an ICommand from the delegates execute and canExecute.
public class C1DelegateCommand : ICommand
Name | Description |
---|---|
C1DelegateCommand(Action<object>) | Initializes a new instance of the C1DelegateCommand class. |
C1DelegateCommand(Action<object>, Predicate<object>) | Initializes a new instance of the C1DelegateCommand 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. |