Click or drag to resize

NGTreeNodeFilterIndependentNodes Method

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.

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static NGTreeNode[] FilterIndependentNodes(
	NGTreeNode[] nodes
)

Parameters

nodes  NGTreeNode
Collection of nodes

Return Value

NGTreeNode
Only the nodes who have no parent (or grand parent and so on) in the collection.
See Also