We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change Suggestion Mode in SfAutoComplete

Syncfusion SfAutocomplete in Xamarin has the feature of different Suggestion mode. The list of Suggestion mode is given below.

 

  • StartsWith
  • StartsWithCaseSensitive
  • Contains
  • ContainsWithCaseSensitive
  • Equals
  • EqualsWithCaseSensitive
  • EndsWith
  • EndsWithCaseSensitive

 

To add Data source in autocomplete follow the below given procedure:

 

Step 1: Create the autocomplete sample with all necessary assemblies.

 

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: Mention any one of the above suggestion mode in the program.

 

The below code illustrates the way to achieve this.

 

 

 

Image for Suggestion Mode StartWith:

 

 

 

 

 

Image for Suggestion Mode StartsWithCaseSensitive:

 

 

 

 

Image for Suggestion Mode Contains:

 

 

 

Image for Suggestion Mode ContainsWithCaseSensitive:

 

 

 

 

 

 

Image for Suggestion Mode Equals:

 

 

 

Image for Suggestion Mode EqualsWithCaseSensitive:

 

 

 

 

Image for Suggestion Mode EndsWithCaseSensitive:

 

 

 

 

Image for Suggestion Mode EndsWith:

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7608 03/27/2017 03/31/2017 Xamarin.Forms SfAutoComplete
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon