Rendering issue with the preview of the splitter line in floating windows

Docking/MDI for WPF Forum

Posted 9 years ago by Niels
Version: 13.2.59
Platform: .NET 4.5
Environment: Windows 7 (64-bit)
Avatar
<Window x:Class="SampleToolWindowBugForActipro.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking" 
        Title="MainWindow" Height="350" Width="525">
    
    <docking:DockSite UseHostedAutoHidePopups="False" 
                      AreDocumentWindowsDestroyedOnClose="False"
                      IsLiveSplittingEnabled="False">
            
        <docking:Workspace>
            <docking:TabbedMdiHost>
                <docking:TabbedMdiContainer>
                    <docking:DocumentWindow Title="DocumentWindow" />
                </docking:TabbedMdiContainer>
            </docking:TabbedMdiHost>
        </docking:Workspace>

        <docking:DockSite.AutoHideRightContainers>
            <docking:ToolWindowContainer>
                <docking:ToolWindow Title="ToolWindow1" />
            </docking:ToolWindowContainer>
        </docking:DockSite.AutoHideRightContainers>

        <docking:DockSite.AutoHideLeftContainers>
            <docking:ToolWindowContainer>
                <docking:ToolWindow Title="ToolWindow2" />
            </docking:ToolWindowContainer>
        </docking:DockSite.AutoHideLeftContainers>

    </docking:DockSite>
</Window>

 

Hello,

I have issues with the preview of the Splitter-Line when increasing/decreasing the
width or height of an floating window. (Version 2013.2 (build 0592))

 

1. Using the sample you can see, that the preview of the Splitter-Line is not rendered if you
increase the width of an floating window. (While you decrease the width it is rendered.)

2. When using WindowsFormsHost as the content of a floating window the preview of
the Splitter-Line is drawn behind the WindowsFormsHost. I know that WindowsFormsHost elements are always rendered on top of WPF. Do you know any workaround for this behaviour?

 

Thanks
Niels

Comments (1)

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

Hi Niels,

Thanks for the sample.  When interop controls (like WinForms controls) are used and you set to not use hosted auto-hide-popups, we have to activate various complex workarounds to enable WPF content to appear on top of interop content.  This is all due to the airspace issues in native WPF related to interop.  While we do cover most things, splitter previews haven't be implemented to support being in their own window so they appear over interop content yet, which causes the side effects you mentioned.  In our documentation topic on WinForms compatibility and interop, that's why we current mention to use live splitting (IsLiveSplittingEnabled = true) to avoid the problem.  The good news is that we are working on a complete internal restructuring of the Docking/MDI product and getting splitter previews to appear above interop content is a goal for that work effort.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.