Class UndoService
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Service supporting Undo/Redo actions on the design surface.
public class UndoService
- Inheritance
-
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).
- Redo()
Redoes a previously undone action.
- Undo()
Undoes the last action.
Events
- UndoStackChanged
Is raised when the undo stack has changed.