add_undoRedoChanged(function(sender, e)) remove_undoRedoChanged(function(sender, e))
This event will be fired when the undo/redo buffer changes. This gives the application a chance to update the user interface if necessary
The undo/redo buffer changes whenever an object inside the Container changes either programmatically or by user interaction through the user interface.
You can use the CanUndo and CanRedo property to determine whether this AnnAutomation can undo or redo an operation.
For information on undoing or redoing automation operations, refer to Undoing Annotation Automation Operations.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | LeadEventArgs | The event data. |