wpf controls - WPF ListBox IsEditable = True behavior? -


i have 'listbox' using fill items.

however, need behavior similiar how combobox behaves if 'iseditable '= "true" .

that combox filters items based on enter text field...

i want similiar behavior in listbox.

and cannot make use of combobox in case .. need manipulate listbox behave that. possible?

you can. there's no built-in mode there combobox (since default listbox has no text-entry capacity - displays items), can achieve same behavior binding listbox collectionview , using view's filtering abilities.

this blog post gives example (with source) how that's done.

update: whole domain seems offline, here's post on wayback machine.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -