Back to Devexpress

ColumnBase.AllowAutoFilter Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-962b7c97.md

latest2.3 KB
Original Source

ColumnBase.AllowAutoFilter Property

Gets or sets whether an end-user can filter data by the column’s values using the automatic filter row. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to allow an end-user to filter data by the column’s values using the automatic filtering row; otherwise, false.

|

Remarks

End-users can filter data on the fly by typing text directly into the automatic filter row. When an end-user types the text within this row, a filter condition is automatically created based upon the values entered and applied to the column.

The AllowAutoFilter property allows you to prevent an end-user from filtering data by the current column’s values via the automatic filter row. To do this, set the AllowAutoFilter property to false. In this instance, the automatic filter row’s cell that corresponds to the current column is disabled.

To show the automatic filter row, set the TableView.ShowAutoFilterRow property to true.

To learn more, see Regular and Checked Drop-down Filters.

See Also

ShowAutoFilterRow

AllowColumnFiltering

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace