An NDoc Documented Class Library

XTreeNode Members

XTreeNode overview

Public Instance Constructors

XTreeNode Constructor Default constructor

Public Instance Properties

Data Generic field that can hold any data desirable. May for example be used with the planned GetSelectedNode feature to store object that should be manipulated when this node is selected.
Icon Icon to show if this node is not expanded
IconOpen Icon to show if node is extended
Open If set to true the node will be expanded when the tree is loaded. NOTE: A leaf node can never be open.
Target Target frame when the item is clicked (note only used if Url is set)
Text Text shown next to the node in the tree
Url Url which to navigate when the node is clicked

Public Instance Methods

AddChild Adds a node as a child below this node.
Equals (inherited from Object) 
GetChildren Retreives all the nodes directly below this node
GetDepth Returns the depth of the node. The root node is on depth 0.
GetHashCode (inherited from Object) 
GetParent Returns the parent node to this node. If it does not have a parent (i.e. is the root node) this will return null.
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

XTreeNode Class | Eminds.Web Namespace