Skip to main content
All docs
V25.1
  • ON

    DetailFormViewModelBase.DeleteAsync() Method

    Asynchronously deletes the item from the data source.

    Namespace: DevExpress.Maui.Core

    Assembly: DevExpress.Maui.Mvvm.dll

    NuGet Package: DevExpress.Maui.Mvvm

    Declaration

    public virtual Task<bool> DeleteAsync()

    Returns

    Type Description
    Task<Boolean>

    true if the item is successfully deleted from the data source; otherwise, false.

    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