Share via


ModelElementTreeNode Members

Include Protected Members
Include Inherited Members

Represents a node for an element in the navigation tree for Model Explorer.

The ModelElementTreeNode type exposes the following members.

Constructors

 

Name

Description

Public method

ModelElementTreeNode

Initializes a new instance of the ModelElementTreeNode class.

Top

Methods

 

Name

Description

Public method

BeginEdit

Initiates the editing of the tree node label. (Inherited from TreeNode.)

Public method

Clone

Copies the tree node and the entire subtree rooted at this tree node. (Inherited from TreeNode.)

Public method

Collapse

Overloaded. Collapses the TreeNode.

Public method

CreateObjRef

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)

Protected method

Deserialize

Loads the state of the TreeNode from the specified SerializationInfo. (Inherited from TreeNode.)

Public method

EndEdit

Ends the editing of the tree node label. (Inherited from TreeNode.)

Public method

EnsureVisible

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary. (Inherited from TreeNode.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Public method

Expand

Expands the tree node. (Inherited from TreeNode.)

Public method

ExpandAll

Expands all the child tree nodes. (Inherited from TreeNode.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLifetimeService

Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Public method

GetNodeCount

Returns the number of child tree nodes. (Inherited from TreeNode.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

InitializeLifetimeService

Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Protected method

MemberwiseClone

Overloaded.

Protected method

ProvideNodeText

Provides the text for the node in the navigation tree for Model Explorer. (Overrides ExplorerTreeNode.ProvideNodeText().)

Public method

Remove

Removes the current tree node from the tree view control. (Inherited from TreeNode.)

Protected method

Serialize

Saves the state of the TreeNode to the specified SerializationInfo. (Inherited from TreeNode.)

Public method

Toggle

Toggles the tree node to either the expanded or collapsed state. (Inherited from TreeNode.)

Public method

ToString

Returns a string that represents the current object. (Inherited from TreeNode.)

Public method

UpdateNodeText

Updates the text for the node. (Inherited from ExplorerTreeNode.)

Top

Properties

 

Name

Description

Public property

BackColor

Gets or sets the background color of the tree node. (Inherited from TreeNode.)

Public property

Bounds

Gets the bounds of the tree node. (Inherited from TreeNode.)

Public property

Checked

Gets or sets a value indicating whether the tree node is in a checked state. (Inherited from TreeNode.)

Public property

ContextMenu

Gets the shortcut menu associated with this tree node. (Inherited from TreeNode.)

Public property

ContextMenuStrip

Gets or sets the shortcut menu associated with this tree node. (Inherited from TreeNode.)

Public property

FirstNode

Gets the first child tree node in the tree node collection. (Inherited from TreeNode.)

Public property

ForeColor

Gets or sets the foreground color of the tree node. (Inherited from TreeNode.)

Public property

FullPath

Gets the path from the root tree node to the current tree node. (Inherited from TreeNode.)

Public property

Handle

Gets the handle of the tree node. (Inherited from TreeNode.)

Public property

ImageIndex

Gets or sets the image list index value of the image displayed when the tree node is in the unselected state. (Inherited from TreeNode.)

Public property

ImageKey

Gets or sets the key for the image associated with this tree node when the node is in an unselected state. (Inherited from TreeNode.)

Public property

Index

Gets the position of the tree node in the tree node collection. (Inherited from TreeNode.)

Public property

IsEditing

Gets a value indicating whether the tree node is in an editable state. (Inherited from TreeNode.)

Public property

IsExpanded

Gets a value indicating whether the tree node is in the expanded state. (Inherited from TreeNode.)

Public property

IsSelected

Gets a value indicating whether the tree node is in the selected state. (Inherited from TreeNode.)

Public property

IsVisible

Gets a value indicating whether the tree node is visible or partially visible. (Inherited from TreeNode.)

Public property

KeepNode

Gets or sets the node to keep when you update (prune) the navigation tree. (Inherited from ExplorerTreeNode.)

Public property

LastNode

Gets the last child tree node. (Inherited from TreeNode.)

Public property

Level

Gets the zero-based depth of the tree node in the TreeView control. (Inherited from TreeNode.)

Public property

ModelElement

Gets the element to appear as a node in the navigation tree.

Public property

Name

Gets or sets the name of the tree node. (Inherited from TreeNode.)

Public property

NextNode

Gets the next sibling tree node. (Inherited from TreeNode.)

Public property

NextVisibleNode

Gets the next visible tree node. (Inherited from TreeNode.)

Public property

NodeFont

Gets or sets the font used to display the text on the tree node's label. (Inherited from TreeNode.)

Public property

Nodes

Gets the collection of TreeNode objects assigned to the current tree node. (Inherited from TreeNode.)

Public property

Parent

Gets the parent tree node of the current tree node. (Inherited from TreeNode.)

Public property

PrevNode

Gets the previous sibling tree node. (Inherited from TreeNode.)

Public property

PrevVisibleNode

Gets the previous visible tree node. (Inherited from TreeNode.)

Public property

SelectedImageIndex

Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state. (Inherited from TreeNode.)

Public property

SelectedImageKey

Gets or sets the key of the image displayed in the tree node when it is in a selected state. (Inherited from TreeNode.)

Public property

ShowDomainClass

Gets or sets the domain class name and verifies whether it should appear next to the element name in the node.

Public property

StateImageIndex

Gets or sets the index of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false. (Inherited from TreeNode.)

Public property

StateImageKey

Gets or sets the key of the image used to indicate the state of the TreeNode when the parent TreeView has its CheckBoxes property set to false. (Inherited from TreeNode.)

Public property

Tag

Gets or sets the object that contains data about the tree node. (Inherited from TreeNode.)

Public property

Text

Gets or sets the text displayed in the label of the tree node. (Inherited from TreeNode.)

Public property

ToolTipText

Gets or sets the text that appears when the mouse pointer hovers over a TreeNode. (Inherited from TreeNode.)

Public property

TreeView

Gets the parent tree view that the tree node is assigned to. (Inherited from TreeNode.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ISerializable.GetObjectData

Populates a serialization information object with the data needed to serialize the TreeNode. (Inherited from TreeNode.)

Top

See Also

Reference

ModelElementTreeNode Class

Microsoft.VisualStudio.Modeling.Shell Namespace