Skip to main content

DataViewCommandsBase.SearchResultPrev Property

Allows to programmatically focus the previous search result.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ICommand SearchResultPrev { get; }

Property Value

Type Description
ICommand

A command implementing the ICommand.

Remarks

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