Skip to main content

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.v24.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