Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableView.ShowCriteriaInAutoFilterRow Property

Gets or sets whether to display the criteria selector buttons in the Automatic Filter Row.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool ShowCriteriaInAutoFilterRow { get; set; }

#Property Value

Type Default Description
Boolean false

true, to display the criteria selector buttons in the Automatic Filter Row; otherwise, false.

#Remarks

If the ShowCriteriaInAutoFilterRow property is set to true, users can specify a criteria type for each column in the Automatic Filter Row. If the ShowCriteriaInAutoFilterRow property is set to false, the filter criteria is BeginsWith.

Automatic Filter Row - Criteria Selector

To display the Filter Criteria Button for a column, set the ColumnBase.ShowCriteriaInAutoFilterRow property to true.

The GridControl changes the Automatic Filter Row‘s default filter criteria when you display the Filter Criteria Button:

BeginsWith
Applies to string columns and columns with the ColumnBase.ColumnFilterMode property set to DisplayText.
Equals
Applies to other column types (int, double, DateTime, bool, and so on).

FilterCriteriaSelector - Default Filters

Refer to the following help topic for more information: Automatic Filter Row.

See Also