UndoEngine Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides undo and redo operation implementations for designers.
public ref class UndoEngine
public class UndoEngine
type UndoEngine = class
Public Class UndoEngine
- Inheritance
-
UndoEngine
Undo |
Initializes a new instance of the UndoEngine class. |
Is |
Gets a Boolean value that indicates whether an undo or redo operation is in progress. |
Add |
Adds the specified unit to the undo stack. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Retrieves an IEnumerable<T> collection of redo operations. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Get |
Retrieves an IEnumerable<T> collection of undo operations. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Redo() |
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. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Undo() |
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. |
Redo |
Occurs when the redo operation is completed. |
Undo |
Occurs when the undo operation is completed. |
Undo |
Occurs when the buffers that hold undo and redo operations change. |
Undo |
Occurs when an undo unit is added to the undo stack. |
Undo |
Occurs when an undo unit is cancelled from the undo stack. |
Undo |
Occurs when an undo unit is removed from the undo stack, without first performing an undo operation. |
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: