FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGridBase Class / AutoSearch Property

In This Topic
    AutoSearch Property (C1FlexGridBase)
    In This Topic
    Gets or sets whether the grid should move the cursor searching for entries as the user types.
    Syntax
    'Declaration
     
    
    Public Property AutoSearch As AutoSearchEnum
    public AutoSearchEnum AutoSearch {get; set;}
    Remarks

    If AutoSearch is on, the grid will search the current column as the user types, automatically moving the cursor and highlighting matches using the CellStyleCollection.Search style. The search is case-insensitive. The search is canceled when the user presses the ESC key or moves the selection with the mouse or cursor keys.

    When the user stops typing for about a second, the search buffer is reset. This amount of time can be changed by setting the AutoSearchDelay property.

    If AutoSearch is on and AllowEditing is set to true, the user will need to hit ENTER, or F2 to start editing cells. Other keys are used for searching.

    See Also