Show / Hide Table of Contents

Method BeginUndoUnit

| Improve this Doc View Source

BeginUndoUnit()

Marks the beginning of a reversible unit of work.

Declaration
public void BeginUndoUnit()
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