Class
DelegateCommand

Definition

Namespace:ArtOfTest.WebAii.Design.UI

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class DelegateCommand : ICommand

Inheritance: objectDelegateCommand

Implements: ICommand

Constructors

DelegateCommand(Func<object, bool>, Action<object>)

Declaration

cs-api-definition
public DelegateCommand(Func<object, bool> canExecute, Action<object> execute)

Parameters

canExecute

Func<object, bool>

execute

Action<object>

Methods

CanExecute(object)

Declaration

cs-api-definition
public bool CanExecute(object parameter)

Parameters

parameter

object

Returns

bool

Implements ICommand.CanExecute(object)

Execute(object)

Declaration

cs-api-definition
public void Execute(object parameter)

Parameters

parameter

object

Implements ICommand.Execute(object)

Events

CanExecuteChanged

Declaration

cs-api-definition
public event EventHandler CanExecuteChanged

Event Value

EventHandler

Implements ICommand.CanExecuteChanged