Back to Devexpress

DataViewBase.SearchPanelHighlightResults Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-a6f21944.md

latest2.2 KB
Original Source

DataViewBase.SearchPanelHighlightResults Property

Gets or sets whether to highlight search results within located records. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool SearchPanelHighlightResults { get; set; }
vb
Public Property SearchPanelHighlightResults As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to highlight search results; otherwise, false.

|

Remarks

Read Tutorial: Search

SearchPanelHighlightResults = true

SearchPanelHighlightResults = false

Set the TableView.ScrollBarAnnotationMode / TreeListView.ScrollBarAnnotationMode property to SearchResult / All and set the DataViewBase.SearchPanelAllowFilter property to false to display scrollbar annotations for search results.

See Also

SearchString

Enable Search Operations in Detail Grid

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace