Finds a row that contains a specified value in a given column.
'Declaration
Public Overloads Overridable Function FindRow( _
ByVal As Object, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean _
) As Integer
'Usage
Dim instance As C1FlexGridBase
Dim objFind As Object
Dim rowStart As Integer
Dim col As Integer
Dim wrap As Boolean
Dim value As Integer
value = instance.FindRow(objFind, rowStart, col, wrap)
public virtual int FindRow(
object ,
int ,
int ,
bool
)
public:
virtual int FindRow(
Object^ ,
int ,
int ,
bool
)
Parameters
- objFind
- Object to look for.
- rowStart
- Index of the row where the search should start.
- col
- Column to be searched.
- wrap
- Whether the search should stop at the bottom of the grid or wrap around and restart from the first scrollable row.
Return Value
The index of the row that contains the data, or -1 if the object is not found.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2