I'm working with a proprietary framework at the moment, which takes over the role of the standard WPF window manager to create a desktop-like effect.
In this framework, we can only work in XAML. And a request came to create a Visual Studio-like "Windows" menu that lists the active Windows and allows one of them to be brought forward.
However I'm having some issues with the second half. I've tried binding the MenuItems IsChecked property to the Window objects Topmost property, but as WPF allows multiple windows to be topmost, it does not work perfectly. Unfortunately we cannot add code behind, as it is all managed by the framework.
Is there any solution for doing the window switching part without any code?