Hi!
I have a (main)window containing a Frame. A Page is loaded to that frame, with some viewmodel as its datacontext.
The View has some datagrids, where one is bound to the viewmodel and the other is bound to the selected.item (so that you get a master-details view..)
the problem occurs when I display a popup box, and set the mainwindow IsEnabled = false. When that happens, the selected item from the datagrid bound to the viewmodel gets unselected, and of course the other datagrids selected items get unselected as well.
How can I preserve the "state" of the UI when my mainwindow.IsEnabled get set to false?