MarkupDocumentManager.UndoUnitCreated 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 created.
Namespace: Microsoft.Windows.Design.Documents
Assembly: Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)
Syntax
'Declaration
Public Event UndoUnitCreated As EventHandler(Of DocumentUndoUnitCreatedEventArgs)
'Usage
Dim instance As MarkupDocumentManager
Dim handler As EventHandler(Of DocumentUndoUnitCreatedEventArgs)
AddHandler instance.UndoUnitCreated, handler
public event EventHandler<DocumentUndoUnitCreatedEventArgs> UndoUnitCreated
public:
event EventHandler<DocumentUndoUnitCreatedEventArgs^>^ UndoUnitCreated {
void add (EventHandler<DocumentUndoUnitCreatedEventArgs^>^ value);
void remove (EventHandler<DocumentUndoUnitCreatedEventArgs^>^ value);
}
JScript does not support events.
Remarks
You may handle this event to place undo units on an undo stack. If you do not handle this event, undo units are not created.
.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