Click or drag to resize

NGTreeNodeNodesWithoutSelectedChilds Method

Returns only those nodes of the provided list, which have no child nodes (immediate childs or higher level child nodes), that are not selected.

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static List<NGTreeNode> NodesWithoutSelectedChilds(
	IEnumerable<NGTreeNode> nodes
)

Parameters

nodes  IEnumerableNGTreeNode
The original collection of selected nodes.

Return Value

ListNGTreeNode
A collection of nodes, which are guaranteed to have no selected child nodes.
See Also