NGTree |
The NGTreeNode type exposes the following members.
Name | Description | |
---|---|---|
AreAllNodesFromSameLevel | 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. | |
ClearSelectionRecursively | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
FilterIndependentNodes | 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. | |
FilterLowestLevelNodes | Returns only the nodes with the lowest hierarchy level. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
FindFirstSelectedNodeParent | Finds the first parent node in the hierarchy, which is selected. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HaveSameParent | Determines if all nodes in the array have the same parent. | |
LoadChildren | Invoked when the child items need to be loaded on demand. Subclasses can override this to populate the Children collection. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
MoveUpDown | This procedure will move up or move down some nodes in the tree. | |
NodesWithoutSelectedChilds | Returns only those nodes of the provided list, which have no child nodes (immediate childs or higher level child nodes), that are not selected. | |
OnPropertyChanged |
Called when a property has changed.
(Inherited from ListNode) | |
Remove | Frees this node, i.e. removes the node from it's parent collection (and set the parent node to null. | |
ReplaceBy | Replaces this node in the tree by the new node newNode, setting this node free (i.e. afterwards it has no parent anymore). | |
SortByOrder | The nodes in the array are sorted by order, i.e. by there hierarchy indices. | |
SubItemBackColor |
Gets the color of the sub items.
(Inherited from ListNode) | |
SubItemText |
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) | |
ToString |
Converts to string.
(Inherited from ListNode) |