New to Telerik UI for WPFStart a free 30-day trial

An interface that is used to calculate an index starting from -1 for the item which is highlighted in the DropDown of the RadAutoCompleteBox.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public interface IHighlightBehavior

Derived Classes: HighlightBehavior

Methods

Returns the index of the highlighted item in the DropDown of the RadAutoCompleteBox.

C#
int FindHighlightedIndex(string searchText, IList filteredItems, IEnumerable<object> escapedItems, string textSearchPath, TextSearchMode textSearchMode)
Parameters:searchTextstring

The string that is into the TextBox part of the RadAutoCompleteBox.

filteredItemsIList

Collection of the items returned by the FilteringBehavior.

escapedItemsIEnumerable<object>

Collection of the items selected items in the RadAutoCompleteBox.

textSearchPathstring

The name or path of the property that is used when filtering for each the data item in the RadAutoCompleteBox.

textSearchModeTextSearchMode

Specifies the text search mode for the RadAutoCompleteBox.

Returns:

int