Interface ICommand

ICommand interface

Defines a command.

public interface ICommand : IDisposable

Properties

NameDescription
CanExecute { get; }Defines the operator that determines whether the command can execute in its current state.

Methods

NameDescription
Execute()Defines the method to be called when the command is invoked.

Events

NameDescription
event CanExecuteChangedOccurs when changes occur that affect whether or not the command should execute.

See Also