SpreadsheetGear 2023
CommandManager Class Members
Properties  Methods 


SpreadsheetGear.Commands Namespace : CommandManager Class

The following tables list the members exposed by CommandManager.

Protected Constructors
 NameDescription
Protected ConstructorInitializes a new instance of CommandManager with the specified IWorkbookSet.  
Top
Public Properties
 NameDescription
Public PropertyReturns true if there is a command available for redo, otherwise false is returned.  
Public PropertyReturns true if there is a command available for undo, otherwise false is returned.  
Public PropertyReturns a description of the current redoable command.  
Public PropertyReturns a description of the current undoable command.  
Public PropertyGets or sets the maximum number of undoable commands that will be retained by the CommandManager.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Clears all undoable and redoable commands.  
Public MethodCreates an instance of the default clear command.  
Public MethodCreates an instance of the default clear contents command.  
Public MethodCreates an instance of the default clear formats command.  
Public MethodCreates an instance of the default copy command.  
Public MethodCreates an instance of the default cut command.  
Public MethodOverloaded. Creates an instance of the default delete command.  
Public MethodOverloaded. Creates an instance of the default insert command.  
Public MethodCreates an instance of the default paste command.  
Public MethodCreates an instance of the default paste special command.  
Public MethodOverloaded. Creates an instance of the default print command.  
Public MethodExecutes the specified command by calling the command's Execute method.  
Public MethodRedoes the last undone command by calling the command's Execute method.  
Public MethodUndo the last executed command by calling the command's Undo method.  
Top
See Also

Reference

CommandManager Class
SpreadsheetGear.Commands Namespace
Command Class
CommandRange Class