SpreadsheetGear 2012
CommandManager Class Members
Properties  Methods 


The following tables list the members exposed by CommandManager.

Protected Constructors
 NameDescription
Protected ConstructorCommandManager ConstructorInitializes a new instance of CommandManager with the specified IWorkbookSet.  
Top
Public Properties
 NameDescription
Public PropertyCanRedoReturns true if there is a command available for redo, otherwise false is returned.  
Public PropertyCanUndoReturns true if there is a command available for undo, otherwise false is returned.  
Public PropertyRedoDisplayTextReturns a description of the current redoable command.  
Public PropertyUndoDisplayTextReturns a description of the current undoable command.  
Public PropertyUndoLimitGets or sets the maximum number of undoable commands that will be retained by the CommandManager.  
Top
Public Methods
 NameDescription
Public MethodClearCommandsOverloaded. Clears all undoable and redoable commands.  
Public MethodCreateCommandClearCreates an instance of the default clear command.  
Public MethodCreateCommandClearContentsCreates an instance of the default clear contents command.  
Public MethodCreateCommandClearFormatsCreates an instance of the default clear formats command.  
Public MethodCreateCommandCopyCreates an instance of the default copy command.  
Public MethodCreateCommandCutCreates an instance of the default cut command.  
Public MethodCreateCommandDeleteOverloaded. Creates an instance of the default delete command.  
Public MethodCreateCommandInsertOverloaded. Creates an instance of the default insert command.  
Public MethodCreateCommandPasteCreates an instance of the default paste command.  
Public MethodCreateCommandPasteSpecialCreates an instance of the default paste special command.  
Public MethodCreateCommandPrintOverloaded. Creates an instance of the default print command.  
Public MethodExecuteExecutes the specified command by calling the command's Execute method.  
Public MethodRedoRedoes the last undone command by calling the command's Execute method.  
Public MethodUndoUndo the last executed command by calling the command's Undo method.  
Top
See Also

Reference

CommandManager Class
SpreadsheetGear.Commands Namespace
Command Class
CommandRange Class

Send Feedback