BindingGroup::CommitEdit Method ()
.NET Framework (current version)
Runs all the ValidationRule objects and updates the binding sources if all validation rules succeed.
Assembly: PresentationFramework (in PresentationFramework.dll)
Return Value
Type: System::Booleantrue if every ValidationRule succeeds and the values are committed to the sources; otherwise, false.
If every ValidationRule succeeds, this method causes the sources to commit the pending changes and end the edit transaction, if a source object is capable of doing so.
For each object in Items that implements IEditableObject, CommitEdit calls IEditableObject::EndEdit
.NET Framework
Available since 3.0
Available since 3.0
Show: