Skip to main content
A newer version of this page is available. .

DelegateCommand Members

A command that calls your parameterless delegates when Execute and CanExecute logic is invoked on the command.

Constructors

Name Description
DelegateCommand(Action, Boolean) Initializes a new instance of the DelegateCommand that can always be executed.
DelegateCommand(Action, Func<Boolean>, Nullable<Boolean>) Initializes a new instance of the DelegateCommand that can always be executed.
DelegateCommand(Action) Initializes a new instance of the DelegateCommand that can always be executed.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Execute(T) Defines the method to be called when the command is invoked. Inherited from DelegateCommand<T>.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also