Skip to main content

DelegateCommand Class

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public class DelegateCommand :
    DelegateCommand<object>

Remarks

The delegates to be called when Execute and CanExecute logic is invoked on the command can be specified via the DelegateCommand‘s constructor.

See Delegate Commands to learn more.

Inheritance

Object
DevExpress.Mvvm.CommandBase
CommandBase<Object>
DevExpress.Mvvm.DelegateCommandBase<Object>
DelegateCommand<Object>
DelegateCommand
See Also