Skip to main content
A newer version of this page is available. .
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.v19.1.Core.dll

Declaration

public ColumnFilterMode ColumnFilterMode { get; set; }

Property Value

Type Description
ColumnFilterMode

A ColumnFilterMode enumeration value 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 grid allows its data to be filtered by column values (edit values) or display text. To specify the required filter mode, use the ColumnFilterMode property:

  • Filtering by Display Text

    FilterMode_DisplayText

  • Filtering by Values

    FilterMode_Value

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

To learn more, see Filter Modes and Custom Filtering.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnFilterMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also