Search
CompositeCommand Members
Methods
 


Represents a set of Command instances as a single operation. Undoing or redoing the composite action, respectively undoes or redoes all its constituent subactions at the same time.

The following tables list the members exposed by the CompositeCommand type.

 Public Methods

  Name Description

cancel

Cancels the command. (Inherited from DisposableCommand.)

dispose

Disposes the command. (Inherited from DisposableCommand.)

getCommands

Gets a list containing the child Command objects.

 Protected Methods

  Name Description

execute

Carries out an action that changes the workbook in some way.

getHasEffect

Gets a value indicating whether the command does anything. (Inherited from Command.)

getWorkbook

Gets the Workbook modified by this Command object. (Inherited from Command.)

redo

Repeats an action that has been undone.

undo

Undoes an action, restoring the workbook to the state it was in before carrying out the action.

 See Also