Table of Contents

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).

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.