ClassHighlightBehavior
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:
public class HighlightBehavior : IHighlightBehavior
Inheritance: objectHighlightBehavior
Implements:
Constructors
HighlightBehavior()
Declaration
public HighlightBehavior()
Methods
FindHighlightedIndex(string, IList, IEnumerable<object>, string, TextSearchMode)
Returns the index of the highlighted item in the DropDown of the RadAutoCompleteBox.
Declaration
public virtual int FindHighlightedIndex(string searchText, IList filteredItems, IEnumerable<object> escapedItems, string textSearchPath, TextSearchMode textSearchMode)
Parameters
searchText
The string that is into the TextBox part of the RadAutoCompleteBox.
filteredItems
Collection of the items returned by the FilteringBehavior.
escapedItems
Collection of the items selected items in the RadAutoCompleteBox.
textSearchPath
The name or path of the property that is used when filtering for each the data item in the RadAutoCompleteBox.
textSearchMode
Specifies the text search mode for the RadAutoCompleteBox.
Returns
Implements