FlexGrid for WinForms
FindRow(Object,Int32,Int32,Boolean) Method



Object to look for.
Index of the row where the search should start.
Column to be searched.
Whether the search should stop at the bottom of the grid or wrap around and restart from the first scrollable row.
Finds a row that contains a specified value in a given column.
Syntax
'Declaration
 
Public Overloads Overridable Function FindRow( _
   ByVal objFind As Object, _
   ByVal rowStart As Integer, _
   ByVal col As Integer, _
   ByVal wrap 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 objFind,
   int rowStart,
   int col,
   bool wrap
)
public:
virtual int FindRow( 
   Object^ objFind,
   int rowStart,
   int col,
   bool wrap
) 

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 objFind object is not found.
Requirements

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

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback