NGTreeNodeAreAllNodesFromSameLevel Method |
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.
Namespace: Altaxo.CollectionsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool AreAllNodesFromSameLevel(
IEnumerable<NGTreeNode> selNodes
)
Parameters
- selNodes IEnumerableNGTreeNode
- The nodes to test.
Return Value
BooleanTrue if all nodes have the same level.
See Also