Back to Devexpress

DelegateCommand Class

corelibraries-devexpress-dot-mvvm-a6fba2e7.md

latest2.6 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public class DelegateCommand :
    DelegateCommand<object>
vb
Public Class DelegateCommand
    Inherits DelegateCommand(Of Object)

The following members return DelegateCommand objects:

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

DelegateCommand Members

DevExpress.Mvvm Namespace