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

Defines the search and filtering modes available for matching user input against items in a ComboBox control. These modes determine how the filtering algorithm compares the search text with item values.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public enum SearchMode

Fields

Matches items that contain the specified search text anywhere within the item text, using case-insensitive comparison. This provides broader search results and is useful for general text search scenarios.

C#
Contains = 2

Matches items that contain the specified search text anywhere within the item text, using case-sensitive comparison. This provides precise text matching when exact case sensitivity is required for contains-based searches.

C#
ContainsCaseSensitive = 3

Matches items that start with the specified search text, using case-insensitive comparison. This is the most common filtering mode for autocomplete scenarios.

C#
StartsWith = 0

Matches items that start with the specified search text, using case-sensitive comparison. This provides more precise filtering when exact case matching is required.

C#
StartsWithCaseSensitive = 1