For my project, users want to keep some of their floating panes open when they minimize the main window. Is there way to do this? Possibly worth mentioning, this tool uses NetAdvantage 2010, but I can probably upgrade it to use 2013 if necessary.
By default the tool windows are owned windows. Owned windows are always above the owner and also they get hidden when the owner is minimized. That is all handled within the OS. So the only way to have some windows not get hidden when the main window is minimized would be to have those not be owned windows. That will mean the window wouldn't get hidden when the main/owning window gets minimized although it also means the OS also won't keep the window above the owner so the owned window can fall behind the main window.
In the version you mention there is no property to allow that. In 11.1 we did add the functionality to the xamDockManager to allow the toolwindows to not be owned (UseOwnedFloatingWindows), to optionally show in the task bar (ShowFloatingWindowsInTaskbar) and themselves allow minimizing and maximizing (Allow(Minimize|Maximize)FloatingWindows) so if you want such functionality you would need to upgrade. As I mentioned there will be implications to making the windows un-owned. Also note that the property I mentioned controls the state for all the floating toolwindows. If you really need this only on some windows you may be able to do that but you'd probably have to handle the ToolWindowLoaded and clear/remove the binding of the PaneToolWindow's IsOwnedWindow property.
Hi Andrew,
I am trying to implement this functionality currently with version 18.2.186 on WPF. In ToolWindowLoaded, I'm setting "e.Window.IsOwnedWindow" to false. In PaneDragOver with the MoveWindowAction, I'm able to see that MoveWindowAction.Window.IsOwnedWindow is still set to false. However, the non-owned window still shows up on top of the MainWindow and minimizes/maximizes with the MainWindow. Any help/pointers you can provide would be much appreciated!
Thank you!