Click here to Skip to main content
16,004,564 members
Articles / Desktop Programming / WPF

AutoCompleteTextBox for comma-seperated terms in C# and WPF following the MVVM approach

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
9 Sep 2024CPOL7 min read 1.4K   31   2  
A walkthrough and source code for an auto-complete TextBox for comma-seperated terms in C# and WPF following the MVVM approach.
In this article we will develop an auto-complete TextBox for comma-seperated terms. The suggestions are overlays that are intended to support rather than disturb you when writing. Suggestions that have already been entered are not displayed again and the capitalization is corrected automatically. With two bindings for the input and a list of possible suggestions we follow the MVVM approach. A suggestion is never sent to the ViewModel until it has been accepted.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions