Name | Description | |
---|---|---|
![]() | CanRecord | Determines whether a new unit can be recorded. The history cannot record any unit if it is not in started state, or is currently undoing or redoing an unit. |
![]() | CanRedo | Determines whether the user can perform Redo. |
![]() | CanUndo | Determines whether the user can perform Undo. |
![]() | CommitTransaction | Commits the last started transaction. |
![]() | DumpRedoStackToObjectsList | |
![]() | DumpToListBoxes | Dumps the state of the undo and redo stacks in the specified ListBox instances. |
![]() | DumpToTreeViews | Dumps the state of the undo and redo stacks in the specified TreeView instances. |
![]() | DumpUndoStackToObjectsList | |
![]() | Record | Records the specified unit. If there are no started transactions, the unit is pushed in the undo stack and the redo stack is cleared. It there is a started transaction, the unit is appended as a child unit of the transaction unit. |
![]() | Redo | Redoes the peak unit from the redo stack and pushes in the undo stack. |
![]() | RollbackTransaction | Rolls back the currently started transaction and undoes the effect of the units recorded in it. |
![]() | StartTransaction | Overloaded. Starts a new history transaction. Transactions are units, which are pushed in the transaction stack and their recording is suspended until the CommitTransaction method is called. |
![]() | Undo | Undoes the peak unit from the undo stack and pushes in the redo stack. |