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

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

Syntax

C#
GanttChartItem GetParent(
	GanttChartItem item
)
Visual Basic (Declaration)
Function GetParent ( _
	item As GanttChartItem _
) As GanttChartItem

Parameters

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

Return Value

The parent item of the specified item.

See Also