Click or drag to resize

NGTreeNode Methods

The NGTreeNode type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAreAllNodesFromSameLevel Determines whether all nodes in the provided enumeration have the same level. This not neccessarily means that the nodes have to have the same parent; only the level must be the same. To test for the same parent, use the HaveSameParent(IEnumerableNGTreeNode) function.
Public methodClearSelectionRecursively 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberFilterIndependentNodes If the nodes array contain both some nodes and their childs (or relatives up in the hierarchy), those childs are removed and only the nodes with the lowest level in the hierarchy are returned.
Public methodStatic memberFilterLowestLevelNodes Returns only the nodes with the lowest hierarchy level.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFindFirstSelectedNodeParent Finds the first parent node in the hierarchy, which is selected.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberHaveSameParent Determines if all nodes in the array have the same parent.
Protected methodLoadChildren Invoked when the child items need to be loaded on demand. Subclasses can override this to populate the Children collection.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberMoveUpDown This procedure will move up or move down some nodes in the tree.
Public methodStatic memberNodesWithoutSelectedChilds Returns only those nodes of the provided list, which have no child nodes (immediate childs or higher level child nodes), that are not selected.
Protected methodOnPropertyChanged Called when a property has changed.
(Inherited from ListNode)
Public methodRemove Frees this node, i.e. removes the node from it's parent collection (and set the parent node to null.
Public methodReplaceBy Replaces this node in the tree by the new node newNode, setting this node free (i.e. afterwards it has no parent anymore).
Public methodStatic memberSortByOrder The nodes in the array are sorted by order, i.e. by there hierarchy indices.
Public methodSubItemBackColor Gets the color of the sub items.
(Inherited from ListNode)
Public methodSubItemText Get the sub item text at index i. Implementer should be aware of, that when changing a subitem text, the corresponding property (e.g. Text0) is changed. Thus, OnPropertyChanged(String) must be called for all properties that have changed.
(Inherited from ListNode)
Public methodToString Converts to string.
(Inherited from ListNode)
Top
See Also