[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Search

Search Method

Search(string, SearchOptions, Action<List<SearchResult>>)

Performs a search of a specific term with specific search options (match case, whole word) and invokes the callback with the search result passed.

Declaration
public Task Search(string searchTerm, SearchOptions searchOptions = null, Action<List<SearchResult>> callback = null)
Parameters
Type Name Description
string searchTerm

String to find.

SearchOptions searchOptions

The object optionally defines the search options.

Action<List<SearchResult>> callback

The function to call after performing search.

Returns
Type Description
Task

A task that represents the asynchronous operation of performing the search.