Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITextUndoHistory.UndoRedoHappened Event

Notifies consumers when an undo or a redo has happened on this history.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

event EventHandler<TextUndoRedoEventArgs> UndoRedoHappened

The sender object is the ITextUndoHistory that originated it, and the event arguments are empty. This event occurs whenever an Undo or Redo is initiated properly, even though one of the particular transactions or primitives may have failed to perform the operation.

Show:
© 2015 Microsoft