FloatingWindowTitle & FloatingWindowShowInTaskBarMode combination not working as expected.

Docking/MDI for WPF Forum

Posted 2 years ago by Ethem Acar
Version: 22.1.3
Platform: .NET 6.0
Environment: Windows 11 (64-bit)

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

Comments (2)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA


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.

Actipro Software Support

Posted 2 years ago by Ethem Acar

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.

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.