Enum
SearchMode

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:

cs-api-definition
public enum SearchMode

Fields

Contains

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.

Declaration

cs-api-definition
Contains = 2

Field Value

SearchMode

ContainsCaseSensitive

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.

Declaration

cs-api-definition
ContainsCaseSensitive = 3

Field Value

SearchMode

StartsWith

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

Declaration

cs-api-definition
StartsWith = 0

Field Value

SearchMode

StartsWithCaseSensitive

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

Declaration

cs-api-definition
StartsWithCaseSensitive = 1

Field Value

SearchMode