ColumnView.ActiveFilterEnabled Property
Gets or sets whether the filtering functionality is enabled.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v19.2.dll
Declaration
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public virtual bool ActiveFilterEnabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if the filtering functionality is enabled; otherwise, false. |
Remarks
If the filtering functionality is enabled, the View displays only the data that meets the current filter criteria, specified by the ColumnView.ActiveFilter property. Set the ActiveFilterEnabled property to false to temporarily disable filtering. In this case the View will display all the records from the underlying data source.
An end-user can disable filtering by unchecking the Enable Filter check box within the filter panel.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ActiveFilterEnabled 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.