I have attached a List<string> myList to a WPF list box by assigning the listbox.ItemSource. How can I keep my listbox updated, if programmatically strings are removed from "myList" ?
Also I would like to remove a selected item from the list, but with the following
I get a InvalidOperationException with the hint to uses ItemsControl.ItemSource instead. How is this meant?
Thanks for help!
View Complete Post