AsyncCommand(Func<Task>, Func<Boolean>, Boolean) Constructor
In This Article
Initializes a new instance of the AsyncCommand class with specified settings.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
execute | Func<Task> | The Task that is called when the specified command is invoked. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
can |
Func<Boolean> | null |
|
allow |
Boolean | False |
|
See Also