Skip to main content
A newer version of this page is available. .

DataViewBase.SearchPanelAllowFilter Property

Gets or sets whether the grid displays only those records that match the search criteria. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public bool SearchPanelAllowFilter { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to display only those records that match the search criteria; otherwise, false.

Remarks

Tip

Topic: Search

You can specify how to show search results:

  • Filter Mode - hides records that do not match the query and highlights results in the view.
  • Highlight Mode - highlights results in the view and on the scrollbar. Set the DataViewBase.SearchPanelAllowFilter property to false to enable the Highlight mode.

Tip

Demos:

Requires installation of WPF Subscription. Download

The following code snippets (auto-collected from DevExpress Examples) contain references to the SearchPanelAllowFilter 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