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 | (Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt 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 | (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.
|