Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    DataViewBase.UseLegacyFilterPanel Property

    Gets or sets whether to use the legacy filter panel.

    Namespace: DevExpress.Xpf.Grid

    Assembly: DevExpress.Xpf.Grid.v25.1.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