Interface ICommand
An interface that allows an application author to define a method to be invoked.
public interface ICommand
Methods
- CanExecute(object?)
Returns whether the command can be executed.
- Execute(object?)
Defines the method that should be executed when the command is executed.
Events
- CanExecuteChanged
Raised when the ability of the command to execute has changed.