MarkupDocumentManager.UndoUnitOpened Event
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Occurs when an undo unit is opened.
Namespace: Microsoft.Windows.Design.Documents
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public Event UndoUnitOpened As EventHandler
'Usage
Dim instance As MarkupDocumentManager
Dim handler As EventHandler
AddHandler instance.UndoUnitOpened, handler
public event EventHandler UndoUnitOpened
public:
event EventHandler^ UndoUnitOpened {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
JScript does not support events.
Remarks
The undo unit is either created or aborted. Handling this event allows you to detect the state of the designer before any undoable changes are made.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Documents Namespace