UndoBufferAdd Method |
Namespace: DigitalRune.Undo
Exception | Condition |
---|---|
ArgumentNullException | operation is . |
This methods needs to be called for every IUndoableOperation before or after it is executed by calling its Do method. Note: Add(IUndoableOperation) does not execute the IUndoableOperation it will only record the operation.
After the operation is recorded in the undo buffer it can be undone and redone by calling Undo and Redo.
The recording of operations in the undo buffer can be temporarily disabled by setting AcceptChanges to .