I have a list of objects in a tree view.
All of them require WIndowA.
Some of them also require WindowB
I have bound the selected item from the treeview to Windowa and WindowB.
So when I navigate the the treeview the contents of the windows automatically synch.
Having said that I dont want WIndowB to show up if it is not required for the selected Item.
I have tried changing its visibility (though binding), but the window still shows up in the menu for the dock.
Is there a solution to this?
Short of closing and re-instantiating WIndowB programatically at runtime.
Is there a solution that can be driven via data-binding to a view model?
---
Thanks
JES