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

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.v18.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DelegateCommand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

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