IndexOf Method
See Also 
Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionView Class : IndexOf Method

item
The item whose index to retrieve.
Returns the zero-based index of the specified item.

Syntax

Visual Basic (Declaration) 
Overrides Public NotOverridable Function IndexOf( _
   ByVal item As Object _
) As Integer
C# 
public override int IndexOf( 
   object item
)

Parameters

item
The item whose index to retrieve.

Return Value

The zero-based index of item. If the item is not found, -1 is returned.

Requirements

Supported Frameworks: Microsoft .NET Framework version 3.5

See Also