History Manager in Windows Forms TreeView

Undo and Redo

The actions can be recorded into the history manager such that the undo and redo operations can be performed. The recording can be controlled, and the undo and redo actions can be performed using the following tools.

Property Table

TreeViewAdv Property Description
HistoryManager To record the actions performed

HistoryManager Method Table

HistoryManager Tool Description
Undo Undo the previous action.
Redo Redo the previous action. Redo action can be performed only after an undo action.
this.treeViewAdv1.HistoryManager.Undo();
this.treeViewAdv1.HistoryManager.Redo();
Me.treeViewAdv1.HistoryManager.Undo()
Me.treeViewAdv1.HistoryManager.Redo()