ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / ApplySearch Method / ApplySearch(String,SearchHighlightMode,Boolean,Boolean,Boolean) Method
Words which will be searched.
Defines how to search results be highlighted.
Defines will search results be filtered or not.
Defines will perform search through only visible columns or not.
Defines will perform search through only visible rows or not.

In This Topic
    ApplySearch(String,SearchHighlightMode,Boolean,Boolean,Boolean) Method
    In This Topic
    Applies search to the data on the grid.
    Syntax
    'Declaration
     
    Public Overloads Sub ApplySearch( _
       ByVal search As String, _
       ByVal highlightMode As SearchHighlightMode, _
       ByVal filter As Boolean, _
       ByVal onlyVisibleColumns As Boolean, _
       ByVal onlyVisibleRows As Boolean _
    ) 
    public void ApplySearch( 
       string search,
       SearchHighlightMode highlightMode,
       bool filter,
       bool onlyVisibleColumns,
       bool onlyVisibleRows
    )

    Parameters

    search
    Words which will be searched.
    highlightMode
    Defines how to search results be highlighted.
    filter
    Defines will search results be filtered or not.
    onlyVisibleColumns
    Defines will perform search through only visible columns or not.
    onlyVisibleRows
    Defines will perform search through only visible rows or not.
    See Also