Back to Devexpress

ColumnView.ActiveFilterEnabled Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-ba6362c1.md

latest2.4 KB
Original Source

ColumnView.ActiveFilterEnabled Property

Gets or sets whether the filtering functionality is enabled.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public virtual bool ActiveFilterEnabled { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
<XtraSerializableProperty>
<XtraSerializablePropertyId(3)>
Public Overridable Property ActiveFilterEnabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

See Also

ActiveFilter

OptionsFilter

Filter and Search

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace