I have a textbox in my C# Windows Forms application that has AutoCompleteMode set to AutoCompleteMode.Suggest, and my content source is a custom source.
My content source is custom, with the following values:
- Jim Smith
- Alice Walker
- Bob Walker
- Jeremy Smith
The content completion only appears to work by checking if the suggested items "start with" the value in the textbox.
For example:
text=J
Would result in the suggestions:
- Jim Smith
- Jeremy Smith
However, if the user types in
text=Walk
There are no results.
How can I get content completion to suggest the following?
- Alice Walker
- Bob Walker
Also, my end goal is to have a textbox where individuals can easy start typing email addresses. The content of the autocompletion suggestions will be names + email addresses. For example:
- Jim Smith <jsmith@mycorp.com>
- Alice Walker <alice@some.email.com>
- Bob Walker <bob.walker@mycorp.com>
- Jeremy Smith <jeremys@foo.com>