Class HighlightBehavior
An interface that is used to calculate an index starting from -1 for the item which is highlighted in the DropDown of the RadAutoCompleteBox.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class HighlightBehavior : Object, IHighlightBehavior
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
System.String
searchText
The string that is into the TextBox part of the RadAutoCompleteBox. |
System.Collections.IList
filteredItems
Collection of the items returned by the FilteringBehavior. |
System.Collections.Generic.IEnumerable<System.Object>
escapedItems
Collection of the items selected items in the RadAutoCompleteBox. |
System.String
textSearchPath
The name or path of the property that is used when filtering for each the data item in the RadAutoCompleteBox. |
TextSearchMode
textSearchMode
Specifies the text search mode for the RadAutoCompleteBox. |
Returns
System.Int32
|