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.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowAutoFilter 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.