Back to Devexpress

ColumnBase.ShowCriteriaInAutoFilterRow Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-b0eb2ea2.md

latest2.9 KB
Original Source

ColumnBase.ShowCriteriaInAutoFilterRow Property

Gets or sets whether to display the criteria selector button for a column in the Automatic Filter Row.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool? ShowCriteriaInAutoFilterRow { get; set; }
vb
Public Property ShowCriteriaInAutoFilterRow As Boolean?

Property Value

TypeDefaultDescription
Nullable<Boolean>false

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

|

Remarks

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

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

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

Note

The ColumnBase.ShowCriteriaInAutoFilterRow property takes precedence over the TableView.ShowCriteriaInAutoFilterRow / TreeListView.ShowCriteriaInAutoFilterRow property.

See Also

Automatic Filter Row

AutoFilterCondition

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace