Tag

ColumnBase.ColumnFilterMode Property

Gets or sets how column values are filtered. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll

Declaration

public ColumnFilterMode ColumnFilterMode { get; set; }

Property Value

Type Description
ColumnFilterMode

A mode that specifies how column values are filtered.

Available values:

Name Description
Value

Cell values are filtered by their values.

DisplayText

Cell values are filtered by their display text.

Remarks

The GridControl allows you to filter data by column values (edit values) or display text. To specify a filter mode, use the ColumnFilterMode property:

  • Filter by Display Text

    FilterMode_DisplayText

  • Filter by Values

    FilterMode_Value

NOTE

The GridControl does not support the Display Text mode for columns if their in-place editors use Server Mode components.

To manually filter rows, handle the GridControl.CustomRowFilter event.

See Also