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

DelegateCommand(Action<T>) Constructor

Initializes a new instance of the DelegateCommand<T> that can always be executed.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

public DelegateCommand(
    Action<T> executeMethod
)

Parameters

Name Type Description
executeMethod Action<T>

The execution logic.

Remarks

To learn more, see Delegate Commands.

See Also