ITextUndoHistory.UndoRedoHappened Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies consumers when an undo or a redo has happened on this history.
public:
event EventHandler<Microsoft::VisualStudio::Text::Operations::TextUndoRedoEventArgs ^> ^ UndoRedoHappened;
event EventHandler<Microsoft.VisualStudio.Text.Operations.TextUndoRedoEventArgs> UndoRedoHappened;
member this.UndoRedoHappened : EventHandler<Microsoft.VisualStudio.Text.Operations.TextUndoRedoEventArgs>
Event UndoRedoHappened As EventHandler(Of TextUndoRedoEventArgs)
Event Type
Remarks
The sender object is the ITextUndoHistory that originated it, and the event arguments are empty. The UndoHistory raises this event whenever an Undo() or Redo() is initiated properly, regardless of whether one of the particular transactions or primitives fails to perform that undo.