Skip to content

scor4er/WPF-AutoComplete-TextBox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF AutoComplete TextBox

logo

Install: PM> Install-Package AutoCompleteTextBox -Version 1.1.0

WPF AutoComplete TextBox is an original work from Bhardwaj Deepak

This control originally features:

  • Load suggestions on-demand
  • Supports MVVM
  • Asynchronously load suggestions
  • Watermark
  • Icon
  • DataTemplate for suggestions
  • DataTemplateSelector for suggestions

Changes/improvements

  1. I've included two more properties for making things easier:
  • MaxLength
  • CharacterCasing
  1. Also, I fixed up the focus control.
  2. Removed VB.NET stuff from original solution.
  3. Added a new demo showcasing the new capabilities
  4. Added a custom style in the new demo, turning on validation messages
  5. Added property MaxPopupHeight. Setting this property, will limit the popup height to the size you wish.
  6. Much more from collaborators!

The Demo WpfControls.Demo

It's a simple WPF application using the Material Design in XAML Toolkit and MVVM showing how to search for the American States while typing. See it in action!

demo in action

PS.: Screen cast by: http://recordit.co/

@scor4er

My changes/improvements

I need this control to support multiple items in a text box separated with some character. The logic will stay the same but when you select an item from the list it won't replace the whole text in a textbox but only the last item (item after specified item separator, comma for example).

About

An autocomplete TextBox for WPF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%