The C1AutoComplete control enables quick identification of user input in the search result by highlighting the matching text. For this, the C1AutoComplete class provides HighlightColor property to set the highlight color for the matching characters. You can explicitly set this property to a specific color so that the user input string gets highlighted in the search results as shown in the following image.
C# |
Copy Code |
---|---|
//Highlighting text match in suggestions
highLightAutoComplete.HighlightColor = Color.Orange; |