ComponentOne DataGrid for WPF and Silverlight
IndexOf(Object) Method

C1.Silverlight.DataGrid Namespace > DataGridRowCollection Class : IndexOf(Object) Method
The data item.
Gets the index of the specified data item.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal dataItem As System.Object _
) As System.Integer
public System.int IndexOf( 
   System.object dataItem
)

Parameters

dataItem
The data item.

Return Value

The index, -1 if not found
See Also

Reference

DataGridRowCollection Class
DataGridRowCollection Members