Skip to main content

DataViewCommandsBase.SearchResultPrev Property

Allows to programmatically focus the previous search result.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core


public ICommand SearchResultPrev { get; }

Property Value

Type Description

A command implementing the ICommand.


Use the SearchResultPrev command to focus the previous row that contains the search result. To focus the next search result, invoke the DataViewCommandsBase.SearchResultNext command.

You can also use the DataViewBase.SearchResultNext and DataViewBase.SearchResultPrev methods to navigate the search results.

End-users can navigate search results using the Next and Previous navigation buttons. To display these buttons in grid’s search panel, set the grid view’s DataViewBase.ShowSearchPanelNavigationButtons property to true.

See Also