Suggestion display mode
29 Jun 2018 / 1 minute to read
ComboBoxMode property is used to decide the suggestion pattern for displaying the filtered data according to the text entered. The different types of patterns are, described below
Suggest and Append
The default option is suggest mode.
Suggest in drop-down
- Suggest - Displays suggestions in the drop-down.
comboBox.ComboBoxMode = ComboBoxMode.Suggest;
- Append - Appends the first matching string with the entered character.
comboBox.ComboBoxMode = ComboBoxMode.Append;
Both append and suggest in drop-down
- SuggestAppend - Displays the suggestion in the drop-down along with appending the first matching string.
comboBox.ComboBoxMode = ComboBoxMode.SuggestAppend;