ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / FindRow Method / FindRow(String,Int32,Int32,Boolean,Boolean,Boolean) Method
String to look for.
Index of the row where the search should start.
Column that contains the data to be searched.
Whether the search should be case-sensitive.
Whether a full match is required. If this parameter is set to false, searching for "John" may return a row that contains "Johnson".
Whether the search should stop at the bottom of the grid or wrap around and restart from the first scrollable row.

In This Topic
    FindRow(String,Int32,Int32,Boolean,Boolean,Boolean) Method
    In This Topic
    Finds a row that contains a specified string.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function FindRow( _
       ByVal strFind As String, _
       ByVal rowStart As Integer, _
       ByVal col As Integer, _
       ByVal caseSensitive As Boolean, _
       ByVal fullMatch As Boolean, _
       ByVal wrap As Boolean _
    ) As Integer
    public virtual int FindRow( 
       string strFind,
       int rowStart,
       int col,
       bool caseSensitive,
       bool fullMatch,
       bool wrap
    )

    Parameters

    strFind
    String to look for.
    rowStart
    Index of the row where the search should start.
    col
    Column that contains the data to be searched.
    caseSensitive
    Whether the search should be case-sensitive.
    fullMatch
    Whether a full match is required. If this parameter is set to false, searching for "John" may return a row that contains "Johnson".
    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 string, or -1 if the string is not found.
    Remarks
    To allow users to search for data as they type, use the AutoSearch property.
    See Also