Click or drag to resize

NGTreeNode.NodesWithoutSelectedChilds 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.3261.0 (4.8.3261.0)
Syntax
C#
public static List<NGTreeNode> NodesWithoutSelectedChilds(
	IEnumerable<NGTreeNode> nodes
)

Parameters

nodes  IEnumerable<NGTreeNode>
The original collection of selected nodes.

Return Value

List<NGTreeNode>
A collection of nodes, which are guaranteed to have no selected child nodes.
See Also