[]
Manages the history of actions performed in a document, and provides undo and redo for this actions.
public class DocumentHistory
Name | Description |
---|---|
CanRedo | Returns whether there is an action to redo. |
CanUndo | Returns whether there is an action to undo. |
Ignore | Gets or sets a value that indicates whether the action is stored in DocumentHistory or not when change the document. |
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(). |
Redo() | Redo the last undone action. |
Undo() | Undo the last action performed on the document. |
Name | Description |
---|---|
HistoryChanged | Fired when the history changes, that is, the list of actions to undo or redo changed. |