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.v26.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
Remarks
You can specify how to display search results:
- Hide records that do not match the query (
SearchPanelAllowFilter). - Highlight results in the view (DataViewBase.SearchPanelHighlightResults).
- Display scrollbar annotations for search results (TableView.ScrollBarAnnotationMode / TreeListView.ScrollBarAnnotationMode).
The GridControl raises filter events (FilterChanged, FilterGroupSortChanging, and so on) when users search data with the SearchPanelAllowFilter option enabled.
See Also

