Suggestion Display Mode in Xamarin.Android SfAutoComplete
15 Jul 20221 minute to read
AutocompleteMode property is used to decide the suggestion pattern for displaying the filtered data according to the text entered. The different types of pattern are described below
Suggest and Append
The default option is suggest mode.
- Append - It appends the first matching string with the entered character.
countryAutoComplete.AutoCompleteMode = AutoCompleteMode.Append;
Suggest in Dropdown
- Suggest - It displays the suggestion in the dropdown.
countryAutoComplete.AutoCompleteMode = AutoCompleteMode.Suggest;
Both Append and Suggest in DropDown
- SuggestAppend - It displays the suggestion in the dropdown along with appending the first matching string.
countryAutoComplete.AutoCompleteMode = AutoCompleteMode.SuggestAppend;