Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    GridLookUpSearchMode Enum

    Enumerates values that specify how the editor looks for values that fit the query entered in the edit box.

    Namespace: DevExpress.XtraEditors.Repository

    Assembly: DevExpress.XtraGrid.v25.1.dll

    NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

    #Declaration

    public enum GridLookUpSearchMode

    #Members

    Name Description
    None

    The editor does not automatically complete the query.

    AutoComplete

    The editor looks for values that start with the entered query and automatically selects the first row that fits the query.

    image

    The query is compared against values in the DisplayMember data source field.

    The completed value is automatically assigned to the EditValue property.

    AutoSuggest

    The editor fires the GridLookUpEdit.Properties.AutoSuggest event that allows you to provide custom suggestions in the drop-drop list.

    This mode is suitable if the editor is not bound to a data source.

    The TextEditStyle property is automatically set to Standard in this mode.

    AutoSearch

    The editor looks for values that contain the entered query, filters the drop-down list, and highlights the found query.

    image

    To assign a value to the EditValue property, the user should select a row and press Enter or double-click it.

    The TextEditStyle property is automatically set to Standard in this mode.

    #Related API Members

    The following properties accept/return GridLookUpSearchMode values:

    #Remarks

    The GridLookUpSearchMode type is used to specify the SearchMode property.

    See Also