Show / Hide Table of Contents

Method EndUndoUnit

| Improve this Doc View Source

EndUndoUnit()

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest