[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.UndoManager.Clear

Clear Method

Clear()

Empties both the undo and redo stacks, effectively resetting the history.

Declaration
public void Clear()
Remarks

This method clears all recorded operations from both the undo and redo stacks. It is useful when the state of the document changes in such a way that previous operations are no longer relevant or applicable. After clearing the history, the Changed event is raised to notify subscribers that the undo/redo history has been reset. Additionally, if any subscribers are registered to the GrapeCity.ActiveReports.Design.UndoManager.Reset event, it is also raised to signal a complete reset of the undo/redo system.