Skip to main content
ON

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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