Search
AddItemCmd Members
Constructors Properties Methods
 


Implements creation of new diagram items.

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

 Public Constructors

  Name Description

AddItemCmd

Initializes a new instance of the AddItemCmd class.

 Public Properties

  Name Description

Item

Gets a reference to the newly added item.

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. (Inherited from Command.)

Execute

Carries out the command action.

IsContainerOf

Determines whether a command has been initiated by this command and should be treated as a derivative. (Inherited from Command.)

Redo

Redoes the command action.

Undo

Undoes the command.

 See Also