UndoManager.OnInterveningUnitBlockingLinkedUndo Method
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.
This is called in the case that there is a strictly linked undo across multiple documents, and the user wants to undo past the point of the linked undo. The intent is that the designer will put up some UI informing the user of this. It turns out that currently you have to implement this if you ever want your undo manager to participate in linked undo, whether or not you use strict linking. We just return E_FAIL, which directs the shell to put up the default UI.
public:
virtual int OnInterveningUnitBlockingLinkedUndo();
public virtual int OnInterveningUnitBlockingLinkedUndo ();
abstract member OnInterveningUnitBlockingLinkedUndo : unit -> int
override this.OnInterveningUnitBlockingLinkedUndo : unit -> int
Public Overridable Function OnInterveningUnitBlockingLinkedUndo () As Integer