I have a MainWindow, and an embedded sub window in the code behind for MainWindow. The embedded sub window also has it's own code behind file. The mainwindow has a listbox that i want to reflect each time the user double clicks on a list of strings found in the subwindow.
How do I go about doing this? I've looked into INotifyCollectionChanged but the documentation on msdn is extremely sparse.
Any help appreciated.
You need to create wrapper class over SortedDictionary that implement INotifyCollectionChanged.
Simple example (of course you need to implement all methods of dictionary):