SpreadsheetGear.Commands Namespace : CommandManager Class |
The following tables list the members exposed by CommandManager.
Name | Description | |
---|---|---|
CommandManager Constructor | Initializes a new instance of CommandManager with the specified IWorkbookSet. |
Name | Description | |
---|---|---|
CanRedo | Returns true if there is a command available for redo, otherwise false is returned. | |
CanUndo | Returns true if there is a command available for undo, otherwise false is returned. | |
RedoDisplayText | Returns a description of the current redoable command. | |
UndoDisplayText | Returns a description of the current undoable command. | |
UndoLimit | Gets or sets the maximum number of undoable commands that will be retained by the CommandManager. |
Name | Description | |
---|---|---|
ClearCommands | Overloaded. Clears all undoable and redoable commands. | |
CreateCommandClear | Creates an instance of the default clear command. | |
CreateCommandClearContents | Creates an instance of the default clear contents command. | |
CreateCommandClearFormats | Creates an instance of the default clear formats command. | |
CreateCommandCopy | Creates an instance of the default copy command. | |
CreateCommandCut | Creates an instance of the default cut command. | |
CreateCommandDelete | Overloaded. Creates an instance of the default delete command. | |
CreateCommandInsert | Overloaded. Creates an instance of the default insert command. | |
CreateCommandPaste | Creates an instance of the default paste command. | |
CreateCommandPasteSpecial | Creates an instance of the default paste special command. | |
CreateCommandPrint | Overloaded. Creates an instance of the default print command. | |
Execute | Executes the specified command by calling the command's Execute method. | |
Redo | Redoes the last undone command by calling the command's Execute method. | |
Undo | Undo the last executed command by calling the command's Undo method. |