IDelegateCommand Interface

Extends ICommand with a method to raise the CanExecuteChanged event.

public interface IDelegateCommand : ICommand
Implements

Methods

NameDescription
RaiseCanExecuteChanged()Raises the CanExecuteChanged event to notify that the command's execution state has changed.

RaiseCanExecuteChanged()

Raises the CanExecuteChanged event to notify that the command's execution state has changed.

void RaiseCanExecuteChanged()

Remarks

The event is raised on the UI thread. When the caller is already on that thread the handlers run synchronously; otherwise the notification is posted to the dispatcher and this method returns immediately.