c# - Bind to subset of bindinglist -
i have datagridviewcomboboxcolumn. want each of cells have possible values subset of bindinglist (let's call "master" bindinglist). 1 suggestion found online this: https://stackoverflow.com/a/14820929
but items in original bindinglist changing (new items added, old ones removed). there way make cells' items automatically updated when "master" binding list changed?
you see if filteredobservablecollection fits needs. it's wpf take concept , adapt bindinglists.
you can have many filtered wrappers want around single master list , each 1 acts separate list, operating (and notifiying) on subset matches filter supply.
Comments
Post a Comment