A function that determines between which child nodes a parent node will be placed if NoOverlaps is set to trueTruetruetrue (True in Visual Basic).

Namespace: TreeLayoutHelper.TreeLayout
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public Func<TNode, TNode[], int> GetNonOverlappingParentIndex { get; set; }
Visual Basic
Public Property GetNonOverlappingParentIndex As Func(Of TNode, TNode(), Integer)
	Get
	Set
Visual C++
public:
property Func<TNode, array<TNode>^, int>^ GetNonOverlappingParentIndex {
	Func<TNode, array<TNode>^, int>^ get ();
	void set (Func<TNode, array<TNode>^, int>^ value);
}
J#
/** @property */
public Func<TNode, TNode[], int> get_GetNonOverlappingParentIndex()
/** @property */
public  void set_GetNonOverlappingParentIndex(Func<TNode, TNode[], int> value)
JScript
function get GetNonOverlappingParentIndex () : Func<TNode, TNode[], int>
function set GetNonOverlappingParentIndex (value : Func<TNode, TNode[], int>)
JavaScript
function get_GetNonOverlappingParentIndex();
function set_GetNonOverlappingParentIndex(value);

Field Value

This function is invoked only if NoOverlaps is set to trueTruetruetrue (True in Visual Basic). It is used to determine an index at which a parent node is shown between its child subtrees. The first argument specifies the parent node, the second argument contains an array of child nodes. The return value should be the zero-based index at which to insert the parent node.

The default value of this property is nullNothingnullptra null reference (Nothing in Visual Basic). If there is no other value assigned, the class will try to insert the parent node in the middle of the child node list.

See Also