Search
ExpandTreeViewItemCmd Members
Constructors Properties Methods
 


Implements support for undo of TreeViewItem collapse/expand operations.

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

 Public Constructors

  Name Description

ExpandTreeViewItemCmd

Initializes a new instance of the ExpandTreeViewItemCmd class.

 Public Properties

  Name Description

Item

Gets the TreeViewItem that has been collapsed or expanded.

Title

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

TreeViewNode

Gets the parent TreeViewNode.

 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

Command.Execute override.

IsContainerOf

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

Redo

Command.Redo override.

Undo

Command.Undo override.

 See Also