Partilhar via


RoleGroupTreeNode Class

Definition

RoleGroupTreeNode is the tree node which sits between the parent role player and it’s children in an 1-many embedding domain relationship. The RoleGroupTreeNode text comes from the DomainRole.PropertyDisplayName of the side of the child role player.

public ref class RoleGroupTreeNode : Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode
public class RoleGroupTreeNode : Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
type RoleGroupTreeNode = class
    inherit ExplorerTreeNode
Public Class RoleGroupTreeNode
Inherits ExplorerTreeNode
Inheritance
RoleGroupTreeNode

Constructors

RoleGroupTreeNode(DomainRoleInfo)

Constructor

Properties

Container

The explorer tree container hosting this node

(Inherited from ExplorerTreeNode)
DefaultImageIndex

Get/Set the index into the TreeView image list to be used for the icon representing this node if not overridden by an icon based on the node content

(Inherited from ExplorerTreeNode)
Disposed

Whether or not this node has been explicitly disposed of

(Inherited from ExplorerTreeNode)
KeepNode

Used to prune tree during updates

(Inherited from ExplorerTreeNode)
RepresentedElement

The ModelElement this node represents (if any)

(Inherited from ExplorerTreeNode)
RepresentedRole

The 1..* role that this node represents

RoleInfo

Read-only accessor for role represented

Methods

Dispose() (Inherited from ExplorerTreeNode)
Dispose(Boolean)

Override point for performing whatever Dispose action is required by subclass

(Inherited from ExplorerTreeNode)
GetRepresentedElement()

Get the ModelElement that this node represents, if any.

(Inherited from ExplorerTreeNode)
ProvideNodeText()

Suppply the text for the node

SetRepresentedElement(ModelElement)

Set the ModelElement that this node represents.

(Inherited from ExplorerTreeNode)
Update()

Force an update of the node's visual representation, i.e. text and icon By default this sets the default image and updates the node text through UpdateNodeText()

(Inherited from ExplorerTreeNode)
UpdateNodeText()

Force an update of the text of the node

(Inherited from ExplorerTreeNode)

Applies to