The DocumentHistory type exposes the following members.

Methods

  Name Description
Public method BeginGroup
Begin an action group, all actions performed in a group are undone together.
Public method Clear
Clear the history of actions.
Public method EndGroup
End an action group, see BeginGroup()()()().
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Redo
Redo the last undone action.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Undo
Undo the last action performed on the document.

Properties

  Name Description
Public property CanRedo
Returns whether there is an action to redo.
Public property CanUndo
Returns whether there is an action to undo.

Events

  Name Description
Public event HistoryChanged
Fired when the history changes, that is, the list of actions to undo or redo changed.

See Also