Skip to main content
A newer version of this page is available. .

DataViewBase.SearchResultPrev() Method

Allows to programmatically focus the previous search result.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public void SearchResultPrev()

Remarks

Use the SearchResultPrev method to focus the previous row that contains the search result. To focus the next search result, call the DataViewBase.SearchResultNext method.

You can also use the DataViewCommandsBase.SearchResultNext and DataViewCommandsBase.SearchResultPrev commands 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