UndoService Class
Definition
Namespace: Alternet.FormDesigner.Wpf
Assembly: Alternet.FormDesigner.Wpf.v9.dll
Service supporting Undo/Redo actions on the design surface.
Inheritance
System.Object
UndoService
Syntax
public class UndoService
Properties
CanRedo | Gets if there are redo actions available. |
CanUndo | Gets if undo actions are available. |
RedoActions | Gets the list of names of the available actions on the undo stack. |
UndoActions | Gets the list of names of the available actions on the undo stack. |
Methods
Clear() | Clears saved actions (both undo and redo stack). |
Execute(ITransactionItem) | |
Redo() | Redoes a previously undone action. |
StartTransaction(ICollection<DesignItem>) | |
Undo() | Undoes the last action. |
Events
TransactionClosed | |
TransactionCommitted | |
TransactionRolledBack | |
UndoStackChanged | Is raised when the undo stack has changed. |
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()