Search
AddToContainerCmd Members
Constructors Properties Methods
 


Undoable command that implements an addition of a node to a container.

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

 Protected Constructors

  Name Description

AddToContainerCmd

Initializes a new instance of the AddToContainerCmd class.

 Public Properties

  Name Description

Container

Gets the container node associated with the command.

Nodes

Gets the item associated with the command.

Title

Gets or sets the text associated with the action. (Inherited from Command.)

 Protected Properties

  Name Description

Context

Gets the command's context. (Inherited from Command.)

SubCommands

Gets a collection of all command objects contained within the composite one. (Inherited from Command.)

 Public Methods

  Name Description

AddSubCmd

Adds an action to a composite command. (Inherited from Command.)

 Protected Methods

  Name Description

Adopt

Merges adjacent commands in the history queue if they are related.

Execute

Carries out the command action.

IsContainerOf

Determines whether a command has been initiated by this command and must be treated as a derivative.

Redo

Redoes the command.

Undo

Undoes the command.

 See Also