Delen via


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

See Also

Reference

MarkupDocumentManager Class

MarkupDocumentManager Members

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility