[]
        
(Showing Draft Content)

C1.WPF.Pivot.UndoStack

UndoStack Class

Generic Undo/Redo stack.

Inheritance
UndoStack
Namespace: C1.WPF.Pivot
Assembly: C1.WPF.Pivot.dll
Syntax
public abstract class UndoStack

Constructors

Name Description
UndoStack()

Initializes a new instance of an UndoStack.

Properties

Name Description
CanRedo

Gets a value that indicates whether the stack contains Redo states.

CanUndo

Gets a value that indicates whether the stack contains Undo states.

Methods

Name Description
ApplySavedState(object)

Applies a saved state.

Clear()

Clears the undo/redo stack.

GetCurrentState()

Gets an object that represents the current state.

Redo()

Executes a Redo command.

SaveState()

Saves the current state to the stack.

Undo()

Executes an Undo command.