The DocumentHistory type exposes the following members.
Methods
Name | Description | |
---|---|---|
BeginGroup |
Begin an action group, all actions performed in a group are undone together.
|
|
Clear |
Clear the history of actions.
|
|
EndGroup |
End an action group, see BeginGroup()()()().
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
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.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Redo |
Redo the last undone action.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Undo |
Undo the last action performed on the document.
|
Properties
Name | Description | |
---|---|---|
CanRedo |
Returns whether there is an action to redo.
|
|
CanUndo |
Returns whether there is an action to undo.
|
Events
Name | Description | |
---|---|---|
HistoryChanged |
Fired when the history changes, that is, the list of actions to undo or redo changed.
|