UndoEngine Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides undo and redo operation implementations for designers.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.UndoEngine

type UndoEngine = class end

NameDescription
System_CAPS_pubmethodUndoEngine(EditingContext)

Initializes a new instance of the UndoEngine class.

NameDescription
System_CAPS_pubpropertyIsUndoRedoInProgress

Gets a Boolean value that indicates whether an undo or redo operation is in progress.

NameDescription
System_CAPS_pubmethodAddUndoUnit(UndoUnit)

Adds the specified unit to the undo stack.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetRedoActions()

Retrieves an IEnumerable<'T> collection of redo operations.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUndoActions()

Retrieves an IEnumerable<'T> collection of undo operations.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRedo()

Removes the last UndoUnit instance from the redo stack, and performs a redo operation on the unit. The UndoUnit instance is then put into the undo stack.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUndo()

Removes the last UndoUnit instance from the undo stack, and performs an undo operation on the unit. The UndoUnit instance is then put into the redo stack.

NameDescription
System_CAPS_pubeventRedoCompleted

Occurs when the redo operation is completed.

System_CAPS_pubeventUndoCompleted

Occurs when the undo operation is completed.

System_CAPS_pubeventUndoRedoBufferChanged

Occurs when the buffers that hold undo and redo operations change.

System_CAPS_pubeventUndoUnitAdded

Occurs when an undo unit is added to the undo stack.

System_CAPS_pubeventUndoUnitCancelled

Occurs when an undo unit is cancelled from the undo stack.

System_CAPS_pubeventUndoUnitDiscarded

Occurs when an undo unit is removed from the undo stack, without first performing an undo operation.

.NET Framework
Available since 4.0

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

Return to top
Show: