A newer version of this page is available. Switch to the current version.

ColumnBase.AllowColumnFiltering Property

Gets or sets whether an end user can filter data by column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public DefaultBoolean AllowColumnFiltering { get; set; }
Public Property AllowColumnFiltering As DefaultBoolean

Property Value

Type Description

A DefaultBoolean enumeration value that specifies whether an end user can filter data by column.


The GridControl allows end users to filter data if the DataViewBase.AllowColumnFiltering property is set to true.

Individual columns provide the AllowColumnFiltering property, allowing the default behavior specified by the view, to be overridden. Setting this property to true or false overrides the default behavior. This can be useful when it is required to prevent an end user from invoking the filter dropdown of individual columns:

    <dxg:GridColumn FieldName="OID" Header="Id" />
    <dxg:GridColumn FieldName="From" />
    <dxg:GridColumn FieldName="AnimationElement" 
                    AllowColumnFiltering="False" />

The AllowColumnFiltering property does not affect the availability Automatic Filter Row. To control the availability of Automatic Filter Row, use the ColumnBase.AllowAutoFilter property.

If the AllowColumnFiltering property is set to Default, the ability to filter data is controlled by the view's DataViewBase.AllowColumnFiltering property. In this case, use the ColumnBase.ActualAllowColumnFiltering property to get whether an end-user can filter data by the current column.


Topic: Drop-down Filter


Demo: Filtering

Requires installation of WPF Subscription. Download

See Also