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

A class that contains information about the settings related to a search operation and the views related to it.

Definition

Constructors

Initializes a new instance of the class.

C#
public DataGridSearchSettings()

Fields

CaseSensitiveProperty

BindableProperty

Identifies the CaseSensitive property.

C#
public static readonly BindableProperty CaseSensitiveProperty

Identifies the CloseSearchPanelCommand property.

C#
public static readonly BindableProperty CloseSearchPanelCommandProperty

Identifies the SearchEntryCompletedCommand property.

C#
public static readonly BindableProperty SearchEntryCompletedCommandProperty

Identifies the SearchPanelVisibilityMode property.

C#
public static readonly BindableProperty SearchPanelVisibilityModeProperty

TextMatchModeProperty

BindableProperty

Identifies the TextMatchMode property.

C#
public static readonly BindableProperty TextMatchModeProperty

Properties

Gets or sets a value indicating whether string comparison should be case sensitive.

C#
public bool CaseSensitive { get; set; }

Gets or sets the command that is executed when pressing the close button in the DataGridSearchPanel.

C#
public ICommand CloseSearchPanelCommand { get; set; }

Gets the command that is executed when the Completed event of the search entry in the DataGridSearchPanel is raised.

C#
public ICommand SearchEntryCompletedCommand { get; }

Gets or sets a value indicating the user experience with the visibility of the DataGridSearchPanel and its close button.

C#
public DataGridSearchPanelVisibilityMode SearchPanelVisibilityMode { get; set; }

Gets or sets a value indicating how a search term should be searched for within a text element.

C#
public DataGridSearchTextMatchMode TextMatchMode { get; set; }

Methods

Invoked when probing for search matches. You can override this method and the Matches collection to add custom logic by either adding or removing search matches.

C#
protected override void ProvideSearchMatches(DataGridSearchProbe probe)
Parameters:probeDataGridSearchProbe

An entity that contains information about the item, such as text of the item, the effective search text, and more.

Overrides: DataGridSearchSettingsBase.ProvideSearchMatches(DataGridSearchProbe)