ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / AutoSearch Property

In This Topic
    AutoSearch Property (C1FlexGrid)
    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 C1FlexGridBase.AutoSearchDelay property.

    If AutoSearch is on and C1FlexGridBase.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