DataGridSearchProbe
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:
public abstract class DataGridSearchProbe
Inheritance: objectDataGridSearchProbe
Derived Classes:
Constructors
protected DataGridSearchProbe()
Properties
Gets a token that is canceled when the current search operation is canceled.
public CancellationToken CancellationToken { get; }
Gets the human readable text of the associated item, i.e. the text that is displayed in the RadDataGrid.
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.
public List<DataGridSearchMatch> Matches { get; }
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.