[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.CommandManager

CommandManager Class

Represents the command manager.

Inheritance
CommandManager
Namespace: GrapeCity.Spreadsheet.Commands
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public class CommandManager
Public Class CommandManager

Properties

Name Description
IsUndoSupported

Gets a value indicating whether the executing a command can be undoable.

Limit

Gets or sets the maximum number of undoable commands which are retained by the CommandManager.

WorkbookSet

Gets the IWorkbookSet object which owns this command manager.

Methods

Name Description
CanRedo()

Determines whether there is an available command for redoing.

CanUndo()

Determines whether there is an available command for undoing.

Clear()

Clears all undo/redo command in queue.

Execute(Command, IWorkbook, bool)

Executes the specified command.

GetLookupDrawingObjects(Workbook)
Redo()

Redo the last undone command.

Undo()

Undo the last executed command.