Skip to main content

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

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

Read Tutorial: Search

You can specify how to display search results:

Run Demo: Search Panel - Filter Mode Run Demo: Search Panel - Highlight Mode

The GridControl raises filter events (FilterChanged, FilterGroupSortChanging, and so on) when users search data with the SearchPanelAllowFilter option enabled.

See Also