DetailFormViewModelBase.DeleteAsync() Method
In This Article
Asynchronously deletes the item from the data source.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
#Declaration
C#
public virtual Task<bool> DeleteAsync()
#Returns
Type | Description |
---|---|
Task<Boolean> |
|
#Remarks
To check whether the Delete operation is available, you can call the CanDelete() method.
You can also use the DeleteCommand to delete the source item.
See Also