BindingSource1.RaiseListChangedEvents = False
BindingSource1.CancelEdit()
BindingSource1.RaiseListChangedEvents = True
If I dirty a record and immediately click Undo, it correctly reverts the changed value. However, if I dirty a record in the grid, navigate to a new record, and then click Undo, the CancelEdit call does not revert the changed value. I have also tried calling my object's CancelEdit method directly, but this yielded the same result.
Copyright (c) Marimer LLC