ColumnBase.AllowColumnFiltering Property

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

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

[XtraSerializableProperty]
public DefaultBoolean AllowColumnFiltering { get; set; }

Property Value

Type Description
DefaultBoolean

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

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by a control’s current setting. The default value is automatically set for a control if an end-user doesn’t specify a value.

Remarks

End-users are allowed to filter data if the grid’s DataControlBase.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.

If the AllowColumnFiltering property is set to ‘Default’, the capability to filter data is controlled by the grid’s DataControlBase.AllowColumnFiltering property. In this instance, to obtain whether an end-user can filter data by the current column, use the ColumnBase.ActualAllowColumnFiltering property.

See Also