All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

RepositoryItemGridLookUpEdit.SearchMode Property

Gets or sets whether the editor automatically completes the value, filters the drop-down list, or provides custom suggestions when the user types a query in the edit box.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(GridLookUpSearchMode.AutoComplete)]
public GridLookUpSearchMode SearchMode { get; set; }
<DXCategory("Behavior")>
<DefaultValue(GridLookUpSearchMode.AutoComplete)>
Public Property SearchMode As GridLookUpSearchMode

Property Value

Type Default Description
GridLookUpSearchMode

AutoComplete

A value that specifies the editor behavior when the user types a query in the edit box.

Remarks

A lookup editor allows users to select a value from a drop-down list. However, users can type a query in the edit box. Depending on the SearchMode property, the editor looks for an appropriate value in the drop-down list: automatically selects the first row that starts with the query, shows only rows that contain the query, or provides custom suggestions (even if the editor is not bound to a data source).

NOTE

Run the Extended Lookup Editor demo to see the modes in action for the GridLookUpEdit. Run the Lookup Editor or Auto-Suggest Lookup Editor demo to see the modes in action for the LookUpEdit control. Click Open Solution in the ribbon for source codes.

See Also