A newer version of this page is available. Switch to the current version.

WinColumnsListEditor.LookupColumnFilterMode Property

Specifies how the Automatic Filtering Row is displayed and how Find Panel performs a search in Server mode (see CollectionSourceBase.DataAccessMode) for lookup columns.

Namespace: DevExpress.ExpressApp.Win.Editors

Assembly: DevExpress.ExpressApp.Win.v18.2.dll


public ColumnFilterMode LookupColumnFilterMode { get; set; }
Public Property LookupColumnFilterMode As ColumnFilterMode

Property Value

Type Description

A ColumnFilterMode enumeration value specifying how the Find Panel performs searching in server mode.


The following table demonstrates how the Automatic Filtering Row and Find Panel behavior changes depending on the LookupColumnFilterMode value in lookup columns.

LookupColumnFilterMode Value Auto Filter Row Behavior Find Panel Behavior
ColumnFilterMode.Value The Auto Filter Row cells are displayed using lookup editors. The Find Panel searches over key property values of objects displayed by the WinColumnsListEditor in Server mode.
ColumnFilterMode.DisplayText The Auto Filter Row is displayed using text boxes. The Find Panel searches over the display text of the visible columns.

You can use the following Controller to access this property.

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Win.Editors;
// ...
public class LookupColumnFilterModeController : ViewController<ListView> {
    protected override void OnActivated() {
        GridListEditor gridListEditor = View.Editor as GridListEditor;
        if (gridListEditor != null) {
            gridListEditor.LookupColumnFilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;

To change the behavior for a specific column only, use the GridColumn.FilterMode property. To access this property, use the approach demonstrated in the Access Grid Control Properties tutorial.


See Also