Suggestion display mode

The ComboBoxMode property is used to decide the suggestion pattern for displaying the dropdown list according to the text entered. The different types of patterns are, described below

  • Suggest

  • Append

  • Suggest and Append

NOTE

The default option is suggest mode.

Suggest in drop-down

  • Suggest - Displays suggestions in the drop-down.
combobox.ComboBoxMode = ComboBoxMode.Suggest;

Append

  • Append - Appends the first matching string with the entered character.
combobox.ComboBoxMode = ComboBoxMode.Append;

Both append and suggest in drop-down

  • SuggestAppend - Displays suggestions in the drop-down along with appending the first matching string.
combobox.ComboBoxMode = ComboBoxMode.SuggestAppend;