Searches for the specified item and returns its zero-based index in the collection.

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

Syntax

C#
public int IndexOf(
	GanttChartItem item
)
Visual Basic (Declaration)
Public Function IndexOf ( _
	item As GanttChartItem _
) As Integer

Parameters

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

Return Value

The index of the specified item in the collection.

See Also