Method FinishEditingAsync
| Edit this page View SourceFinishEditingAsync()
Saves edits made using the FeatureForm to the database for the CurrentFeatureForm.
Declaration
public Task FinishEditingAsync()
Returns
Type | Description |
---|---|
Task |
Remarks
Use this method to perform your own validation logic, or if you want to decide which errors are important prior to applying edits. Alternatively you can use the FinishEditingCommand which will handle showing validation errors and scroll to them.
See Also
| Edit this page View SourceFinishEditingAsync(bool)
Saves edits made using the FeatureForm to the database for the CurrentFeatureForm if there are not errors,
otherwise scroll to the first error if requireAllErrorsResolved
is true
.
Declaration
public Task<bool> FinishEditingAsync(bool requireAllErrorsResolved)
Parameters
Type | Name | Description |
---|---|---|
bool | requireAllErrorsResolved |
Returns
Type | Description |
---|---|
Task<bool> |
Remarks
Use this method to perform your own validation logic, or if you want to decide which errors are important prior to applying edits. Alternatively you can use the FinishEditingCommand which will handle showing validation errors and scroll to them.