Skip to main content

DelegateCommand(Action<T>, Boolean) Constructor

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

public DelegateCommand(
    Action<T> executeMethod,
    bool useCommandManager
)

Parameters

Name Type Description
executeMethod Action<T>

The execution logic.

useCommandManager Boolean

Specifies whether the command is automatically updated by the command manager.

Remarks

To learn more, see Delegate Commands.

See Also