Xamarin.Android | ComponentOne
Controls / Input / AutoComplete / Features / Highlight Matches
In This Topic
    Highlight Matches
    In This Topic

    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.

      The following code example shows how you can highlight the matching text in the search result.
    C#
    Copy Code
    //Highlighting text match in suggestions
    highLightAutoComplete.HighlightColor = Color.Orange;