[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.UndoStack

UndoStack Class

Generic Undo/Redo stack.

Inheritance
UndoStack
Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexSheet.4.6.2.dll
Syntax
public 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 actions that can be re-done.

CanUndo

Gets a value that indicates whether the stack contains actions that can be undone.

Methods

Name Description
AddAction(IUndoableAction)

Adds an action to the undo/redo stack.

Clear()

Clears the undo/redo stack.

OnStateChanged(EventArgs)

Raises the StateChanged event.

Redo()

Executes a Redo command.

Undo()

Executes an Undo command.

Events

Name Description
StateChanged

Occurs when the status of the undo stack changes.