KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am eager to find some solid (free, Open Source, or tutorial/example) code to make a WPF Combobox do autocomlete/autofilter as the user types. But everything I've tried so far has had some sort of problem... A Reusable WPF Autocomplete TextBox came close, but I can't get it to work with more than one filter (more info here ). WPF autocomplete textbox/combobox doesn't work for me because it inherits from UserControl, and thus doesn't support the DataTemplates I need (for showing/selecting the value of one property for an object with multiple properties). Automatically Filtering a ComboBox in WPF didn't work because it doesn't seem to ever find the EditableTextBox portion of the inherited ComboBox code (via (TextBox)base.GetTemplateChild("PART_EditableTextBox") which seems to always returns null). Building a Filtered ComboBox for WPF just gets stuck in a refresh loop then overflows the stack after I type just a few letters. Other things I've considered: I know that Windows Forms' Combobox control has AutoCompleteMode and I could embed it in WPF , but I can't imagine it would pla
Tags (comma-separated)
Save Edits
Cancel