I need to create a text box which will auto resolve what the user types based on a list of values, something similar to the "To" field in e-mail clients.
For example, my list has these values:
Car House Tree
Typing "hou" would automatically resolve to "House", and trying to delete a single letter (with backspace or delete) of that word would delete it entirely, also it would not allow one to mess with an already resolved word (for example "Hou[something]se").
Of course I could create this using a regular text box and controlling what is typed and keeping a strucure with the resolved words..... there are a lot of exceptions to deal with, though, and I'm not willing to reinvent the wheel. Has anyone implemented something like that before? Is there any control in visual studio that provides something similar to what I described?
Update
Note that I understand that the regular text box supports autocompletion, but besides autocompletion I need autoresolution, wich is a different concept...