Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IRelayCommand Interface

Definition

Namespace:
Microsoft.Toolkit.Mvvm.Input
Assembly:
Microsoft.Toolkit.Mvvm.dll
Package:
Microsoft.Toolkit.Mvvm v7.0.2
Package:
Microsoft.Toolkit.Mvvm v7.1.2

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

An interface expanding ICommand with the ability to raise the CanExecuteChanged event externally.

public interface IRelayCommand : System.Windows.Input.ICommand
type IRelayCommand = interface
 interface ICommand
Public Interface IRelayCommand
Implements ICommand
Derived
Implements

Methods

NotifyCanExecuteChanged()

Notifies that the CanExecute(Object) property has changed.

Applies to