Method EndUndoUnit
| Improve this Doc View SourceEndUndoUnit()
Marks the end of a reversible unit of work.
Declaration
public void EndUndoUnit()
Remarks
Use BeginUndoUnit() and EndUndoUnit() in tandem. Calling BeginUndoUnit() increases UndoUnitLevel by 1, and calling EndUndoUnit() decreases UndoUnitLevel by 1. When UndoUnitLevel is greater than 0, all undoable operations are considered as one single reversible unit of work.