Search
ExpandItemCmd Members
Constructors Properties Methods
 


Implements expanding/collapsing trees of items.

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

 Public Constructors

  Name Description

ExpandItemCmd

Initializes a new instance of the ExpandItemCmd class.

 Public Properties

  Name Description

Item

Gets a reference to diagram item affected by this operation.

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