If you don't set FloatingWindowTitle property & set FloatingWindowShowInTaskBarMode property to true of DockSite.
The Floating Tool Windows show no title in taskbar, my expected behaviour was that it would show the ToolWindow.Title
If you don't set FloatingWindowTitle property & set FloatingWindowShowInTaskBarMode property to true of DockSite.
The Floating Tool Windows show no title in taskbar, my expected behaviour was that it would show the ToolWindow.Title
Hello,
Keep in mind that a floating window here is really a WPF Window that contains a DockHost associated with the DockSite. The DockHost for a single floating tool window effectively contains this hierarchy:
Window / DockHost / ToolWindowContainer / ToolWindow
That is the simplest case. As soon as you dock other tool windows next to that tool window, then things get more complex with SplitContainers, etc. You also can float a document window, which generates this hierarchy:
Window / DockHost / Workspace / TabbedMdiHost / TabbedMdiContainer / DocumentWindow
Note that tool windows can be docked all around the Workspace in that. Due to all the various combinations that can occur, we just use FloatingWindowTitle for the Window.Title in the current code.
What you suggest makes sense though. If there is a single ToolWindowContainer, it ideally would use the selected ToolWindow's Title as the WPF Window's Title. We will try and add this in the next version.
Thank you for the reply,
Awesome that you will be implementing a solution in the next release. Some other component library tackles the floating tool window combinations issue by setting the floating tool window title to all grouped titles separated with a '-'. So the title of a grouped floating tool window becomes: Toolwindowtitle1 - toolwindowtitle2, its a funny way to tackle it but not a must have. Your next implementation is good enough for me.
No combination -> Use tool window title
Yes combination -> Use FloatingWindowTitle or new property FloatingWindowCombinationTitle
Good luck.
Please log in to a validated account to post comments.