New to Telerik UI for .NET MAUIStart a free 30-day trial

An instance of this object is used by the searching mechanism of the RadDataGrid when trying to determine the search matches for an item. Use the Matches collection to add any search matches that satisfy your custom logic.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class DataGridSearchProbe

Inheritance: objectDataGridSearchProbe

Derived Classes: DataGridSemanticSearchCellProbeDataGridTextSearchProbe

Constructors

C#
protected DataGridSearchProbe()

Properties

Gets a token that is canceled when the current search operation is canceled.

C#
public CancellationToken CancellationToken { get; }

Gets the item associated with the search-match.

C#
public object Item { get; }

Gets the human readable text of the associated item, i.e. the text that is displayed in the RadDataGrid.

C#
public string ItemText { get; }

Gets a collection of search matches for the associated item. Use this to add any search matches that satisfy your custom logic.

C#
public List<DataGridSearchMatch> Matches { get; }
Remarks:

For semantic search scenarios, prefer using IsMatch when you only need to indicate whether a cell is a match and text-highlight ranges are not needed.