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(
	DataTreeGridItem item
)
Visual Basic (Declaration)
Public Function GetParent ( _
	item As DataTreeGridItem _
) As DataTreeGridItem

Parameters

item
Type: DlhSoft.Windows.Controls..::..DataTreeGridItem
The item to get the parent of.

Return Value

The parent item of the specified item.

See Also