Skip to main content
ON

DetailEditFormViewModel.SaveAsync() Method

Asynchronously saves the edited item to the data source.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

public virtual Task<bool> SaveAsync()

Returns

Type Description
Task<Boolean>

true if the edited item is successfully saved to the data source; otherwise, false.

Remarks

Call the CanSave() method to check whether the Save Changes operation is available. You can also use the SaveCommand to save changes in the edited item.

See Also