Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataViewBase.SearchResultPrev() Method

In This Article

Allows to programmatically focus the previous search result.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public void SearchResultPrev()

#Remarks

Tip

Topic: Search

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