Gets the direct parent item of the specified item in the hierarchical collection.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.HierarchicalData.LightWPF.Controls (in DlhSoft.HierarchicalData.LightWPF.Controls.dll)

Syntax

C#
public DataTreeGridItem GetParent(
	int index
)
Visual Basic (Declaration)
Public Function GetParent ( _
	index As Integer _
) As DataTreeGridItem

Parameters

index
Type: System..::.Int32
The index of the item to get the parent of.

Return Value

The parent item of the specified item.

See Also