Skip to main content
A newer version of this page is available. .

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.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public bool AllowAutoFilter { get; set; }

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 GridControl.ShowAutoFilterRow property to true.

To learn more, see Automatic Filter Row.

See Also