PopupFilterMode Enum
Contains values that specify how records are filtered within a grid lookup editor’s popup window. The selected mode is not in effect when the SearchMode
property equals either AutoSearch
or AutoSuggest
.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Members
Name | Description |
---|---|
Default
|
This option is equivalent to the StartsWith option for GridLookUpEdit and TreeListLookUpEdit controls in the following cases: 1) users cannot edit text in the text box (RepositoryItemLookUpEditBase.TextEditStyle is not set to Standard), 2) users can edit text in the text box and the control automatically completes the entered text (RepositoryItemGridLookUpEdit.AutoComplete or RepositoryItemTreeListLookUpEdit.AutoComplete is enabled). Otherwise, this option is equivalent to the Contains option for the GridLookUpEdit and TreeListLookUpEdit controls. This option is equivalent to the StartsWith option for the LookUpEdit control. This option is equivalent to the Contains option for the SearchLookUpEdit control. Users can use the Find Panel to search for keywords. You can use the ColumnViewOptionsFind.FindFilterColumns property to specify grid columns in which to search for keywords. |
Contains
|
Selects records that contain the specified sub-string. A search for rows is performed against the column specified by the editor’s Properties.DisplayMember property (RepositoryItemLookUpEditBase.DisplayMember). |
StartsWith
|
Selects records whose field values start with the specified string. A search for rows is performed against the column specified by the editor’s Properties.DisplayMember property (RepositoryItemLookUpEditBase.DisplayMember). |
Related API Members
The following properties accept/return PopupFilterMode values:
Remarks
Use the following properties to specify how records are filtered within corresponding controls:
- RepositoryItemLookUpEdit.PopupFilterMode - for the LookUpEdit and SearchLookUpEdit controls.
- RepositoryItemGridLookUpEditBase.PopupFilterMode - for the GridLookUpEdit control.
- RepositoryItemTreeListLookUpEdit.PopupFilterMode - for the TreeListLookUpEdit control.