NGTreeNodeHaveSameParent Method |
Determines if all nodes in the array have the same parent.
Namespace: Altaxo.CollectionsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool HaveSameParent(
IEnumerable<NGTreeNode> nodes
)
Parameters
- nodes IEnumerableNGTreeNode
- Array of nodes.
Return Value
BooleanTrue if all nodes have the same parent. If the array is empty or contains only one element, true is returned.
If all nodes have no parent (Parent==null), true is returned as well.
See Also