ComponentOne Xamarin.iOS Documentation
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 the HighlightColor property that highlights the matching characters in a specified color. You can 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.

    Copy Code
     HighlightDropdown.HighlightColor = UIColor.Red;