ComponentOne FlexGrid for WinForms
IndexOf(Int32,Int32) Method

C1.Win.C1FlexGrid Namespace > CellRangeCollection Class > IndexOf Method : IndexOf(Int32,Int32) Method
Index of the row contained in the range.
Index of the column contained in the range.
Gets the index of the first CellRange object in the collection that contains the specified row and column.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Integer
public int IndexOf( 
   int row,
   int col
)

Parameters

row
Index of the row contained in the range.
col
Index of the column contained in the range.

Return Value

The index of the object in the collection, or -1 if no range could be found containing the specified row and column.
See Also

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List