Skip to main content

DataViewBase.UseLegacyFilterPanel Property

Gets or sets whether to use the legacy filter panel.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool? UseLegacyFilterPanel { get; set; }

Property Value

Type Default Description
Nullable<Boolean> false

true, to use the legacy filter panel; otherwise, false.

Remarks

The new Filter Panel displays a filter expression as a set of blocks with different colors for each block type (field name, field value, date-time function).

The legacy Filter Panel displays a filter string.

To use the legacy Filter Panel:

  • For a specific GridControl, set the DataViewBase.UseLegacyFilterPanel property to true.
  • For all controls (GridControl, TreeListControl, and PivotGridControl) in the project, set the CompatibilitySettings.UseLegacyFilterPanel property to true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseLegacyFilterPanel 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.

See Also