Click or drag to resize

NGTreeNodeHaveSameParent Method

Determines if all nodes in the array have the same parent.

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

Parameters

nodes  IEnumerableNGTreeNode
Array of nodes.

Return Value

Boolean
True 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