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.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
Default |
A Default |
#Remarks
End-users are allowed to filter data if the view's 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.
If the AllowColumnFiltering property is set to 'Default', the ability to filter data is controlled by the view's DataViewBase.AllowColumnFiltering property. In this instance, to obtain whether an end-user can filter data by the current column, use the ColumnBase.ActualAllowColumnFiltering property.
To learn more, see Filtering Overview and Filter Dropdown.