Sage Modeling and Simulation Library

ITreeNode Properties

The ITreeNode<(Of <(<'T>)>)> type exposes the following members.

Properties


  Name Description
Public property ChildNodes
Provides an IEnumerable over the child nodes (i.e. the payloads of the children.)
Public property Children
Gets the children, if any, of this node. Return value will be an empty collection if there are no children.
Public property MyEventController
Gets the tree node event controller. This should only be obtained by a descendant or parent TreeNode or TreeNodeCollection to report changes that are taking place with respect to the subject TreeNode so that it may report its own changes.
Public property Parent
Gets or sets the parent of this tree node.
Public property Payload
Gets the payload of this node. The payload is the node itself, if the subject nodes inherit from TreeNode<T>. If the Payload is null, and you inherit from TreeNode<T>, you need to set SelfReferential to true in the ctor.
Public property Root
Gets the root node above this one.