Export (0) Print
Expand All

UndoEngine.UndoUnit Class

Encapsulates a unit of work that a user can undo.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

protected class UndoUnit
protected class UndoUnit
protected class UndoUnit
Not applicable.

The UndoEngine.UndoUnit class is a nested class within UndoEngine that encapsulates an action that a user can undo. The default UndoEngine.UndoUnit implementation monitors change notifications and builds up a list of events for each change. It saves these events using IDesignerSerializationService. An UndoEngine.UndoUnit receives event notifications for changes directly from UndoEngine through several publicvirtual methods. You can derive from UndoEngine.UndoUnit and perform any additional logic. If desired, you can completely bypass the default UndoEngine.UndoUnit implementation.

System.Object
  System.ComponentModel.Design.UndoEngine.UndoUnit

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft