Search
CommandHistory Members
Properties Methods
 


Maintains a queue of Command records used to undo or redo actions.

The following tables list the members exposed by the CommandHistory type.

 Public Properties

  Name Description

Capacity

Gets or sets the maximum number of records to keep in the history queue.

Commands

Gets the commands saved in the undo / redo history queue.

NextRedo

Gets a reference to the command that would be redone if Redo is invoked.

NextUndo

Gets a reference to the command that would be undone if Undo is invoked.

 Public Methods

  Name Description

Clear

Removes all records from the history queue.

MergeUndoRecords

Merges several undo records into a single composite record.

 See Also