DelegateCommand Class

Base class for commands.

Definition

Namespace: Aliquo.Windows.Base
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public class DelegateCommand : ICommand
Inheritance
Object    DelegateCommand
Implements
ICommand

Constructors

DelegateCommand(Action) Class constructor.
DelegateCommand(Action, FuncBoolean) Class constructor.

Methods

CanExecute Indicates whether the command can be executed.
Execute Execute the command.
RaiseCanExecuteChanged Invokes the CanExecuteChanged event.

Events

CanExecuteChanged Event to report the change in CanExecute.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also