Reputation: 24222
I have a ComboBox with a list of names. I don't want to allow new values, so I set the DropDownStyle to DropDownList.
When typing to select a name, it only allows one letter. So if I type "T" it will jump to the first name starting with "T". If I then type "o", it will not jump to the first item starting with "To", but to the first item starting with "o".
Is there a way to change this behaviour? Either with the current DropDownStyle, or with a different one by restricting it to existing values.
Upvotes: 1
Views: 995
Reputation: 116528
Set the AutoCompleteSource
to Items
, then set AutoCompleteMode
. SuggestAppend
is probably what you're looking for, but you can play with the others and choose which one you like.
Upvotes: 2