ToolWindow overlaps taskbar if UseHostedAutoHidePopups is set to false

Docking/MDI for WPF Forum

Posted 10 years ago by Niels
Version: 14.1.0601
Platform: .NET 4.0
Environment: Windows 7 (64-bit)


in our application we are hosting WinForms within the ToolWindows, so we needed to set UseHostedAutoHidePopups="False".

If you run the sample below and if you click on the hidden ToolWindow in the right corner and then move the MainWindow down, you can observe that the ToolWindow overlaps the TaskBar.

How can we fix this behaviour?

<Window x:Class="SampleToolWindowBugForActipro.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <docking:DockSite UseHostedAutoHidePopups="False">
                    <docking:DocumentWindow Title="DocumentWindow" />

                <docking:ToolWindow Title="ToolWindow" />



Thanks in advance.


Comments (3)

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

Hi Niels,

I see what you mean.  In order to allow interop controls (like WinForms controls) to work around the WPF airspace issues, we need to put them in special Popups.  That's what happens when you set UseHostedAutoHidePopups="False".  When you leave it the default of true, the auto-hide flyouts are just controls that are part of the main DockSite visual hierarchy and not popups.  Anyhow, the use of Popups means that the popups overlay the taskbar since Popup is topmost by default.  We've made some tweaks to try and alter this behavior though.  If you'd like to try a preview build, please write our support address and reference this thread.

Actipro Software Support

Posted 10 years ago by Niels


so this will be fixed in an upcoming release?




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

Hi Niels,

Yes, we altered code for this for the upcoming build.

Actipro Software Support

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.