Table of Contents

Class RelayCommand

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v10.dll

Represents a command whose sole purpose is to relay its functionality to other objects by invoking delegates.

public class RelayCommand : ICommand
Inheritance
RelayCommand
Implements

Constructors

RelayCommand(Action)

Initializes a new instance of the LicenseDialog class that can always execute.

Methods

CanExecute(object)

Determines whether the command can execute in its current state.

Execute(object)

Defines the method to be called when the command is invoked.

Events

CanExecuteChanged

Occurs when changes occur that affect whether or not the command should execute.