To change the Suggestion mode based on search criteria, follow the given steps:
Step 1: Create the AutoComplete sample and include the necessary source files.
Step 2: Create a class Countrylist, and create an instance for list called countryList and then add the countries in the list using the function Add ().
Step 3: Then create an instance for autocomplete. And you must set the AutoCompleteSource to Countrylist ().Country to get the list of countries.
Step 4: By using the object you can change the suggestion display as follows:
The following screenshot is an example to change the suggestion display mode:
This page will automatically be redirected to the sign-in page in 10 seconds.