PopupFilterMode Enum

Contains values that specify how records are filtered within a grid lookup editor's popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public enum PopupFilterMode
Public Enum PopupFilterMode

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

Remarks

Use the following properties to specify how records are filtered within corresponding controls:

See Also