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. The string that is into the TextBox part of the RadAutoCompleteBox. |
System. Collection of the items returned by the FilteringBehavior. |
System. Collection of the items selected items in the RadAutoCompleteBox. |
System. The name or path of the property that is used when filtering for each the data item in the RadAutoCompleteBox. |
Text Specifies the text search mode for the RadAutoCompleteBox. |
Returns
System.
|