Ah, sorry for not being more clear.
We're going to have this situation (the desire to interrupt the editing process and retrieve potential edits) in many grids across our suite. So, my natural inclination is to figure out an inexpensive (cpu cost) way to consolidate this code into a single derived class (From DataGridControl) which would then raise an event with the "Proposed" object in its entirety to an outside consumer.
Basically, I think I've figured out the datagridcontrol in its current incarnation doesn't offer this up, with the alternative being mining the datacells themselves for the proposed edits. My preference is to avoid doing that, as it would be repeated everywhere in our application, and provide multiple potential points of translation failure.
A comparison of the workflows:
Xceed in its current incarnation:
- Interrupt EndingEdit, which tells me where the edit is ending from.
- Mine all data cells in a given row for potential edits.
- Take this object, pass it to my outside persistence service.
Desired behavior :
- interrupt EndingEdit, which tells me exactly what the proposed edited object is
- Raise an event which passes the proposed edit object in its event args
- Pass this object to the service