TreeListColumn.FilterMode Property

Gets or sets whether to filter data by the displayed text or actual values.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(ColumnFilterMode.Value)]
[XtraSerializableProperty]
public ColumnFilterMode FilterMode { get; set; }
<DefaultValue(ColumnFilterMode.Value)>
<XtraSerializableProperty>
Public Property FilterMode As ColumnFilterMode

Property Value

Type Default Description
ColumnFilterMode

Value

A ColumnFilterMode enumeration value that specifies how the column's values are filtered.

Remarks

Users can filter data using the Pop-up Filter Menus or Automatic Filtering Row. The FilterMode property specifies how to filter data:

  • Value – the pop-up filter menu contains unique actual values. When a user applies a filter using the auto-filter row, the query should be entered without formatting characters.
  • DisplayText – the pop-up menu contains unique displayed texts. When a user applies a filter using the auto-filter row, the query should match the displayed text completely (if necessary, contain formatting characters).

*

To filter non-string column values with string operators ("Contains", "Starts With", and others), set FilterMode to DisplayText. This approach is also applicable to other Devexpress data-aware controls (Gantt Control, Data Grid, Vertical Grid, etc.).

See Also