Xuni Controls > Input > AutoComplete > Features > Highlight Matches |
The XuniAutoComplete control enables quick identification of user input in the search result by highlighting the matching text. For this, the XuniAutoComplete class provides the HighlightBackgroundColor property that sets 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.
The following code example shows setting the text highlight feature in XuniAutoComplete control.
C# |
Copy Code |
---|---|
this.autoComplete.HighlightBackgroundColor = Color.Blue; |