Popuped ToolWindow does not move when move splitter position.

Docking/MDI for WPF Forum

Posted 6 months ago by Yuki
Version: 23.1.4
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

Hello,

  

Our application use DockSite in DocumentWindow.

And DockSite.UseHostedPopup=False for inner DockSite.

--> Popuped innner ToolWindow does not move when move splitter position of outer DockSite.   

  

Would you please check it?

<Window
    x:Class="DockingInDockingSample.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
    xmlns:local="clr-namespace:DockingInDockingSample"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="MainWindow"
    Width="800"
    Height="450"
    mc:Ignorable="d">
    <Grid>
        <!--  Outer  -->
        <docking:DockSite x:Name="OuterDockSite">
            <docking:SplitContainer>
                <docking:Workspace>
                    <docking:TabbedMdiHost>
                        <docking:TabbedMdiContainer>
                            <docking:DocumentWindow Title="Document1">

                                <!--  Inner  -->
                                <docking:DockSite x:Name="InnerDockSite" UseHostedPopups="False">
                                    <docking:SplitContainer>
                                        <docking:Workspace>
                                            <docking:ToolWindow
                                                Title="Fixed"
                                                CanAttach="False"
                                                CanDragTab="False"
                                                HasTitleBar="False">
                                                <Label Content="Fixed ToolWindow" />
                                            </docking:ToolWindow>
                                        </docking:Workspace>

                                        <docking:ToolWindowContainer>
                                            <docking:ToolWindow Title="InnerToolWindow">
                                                <Label Content="InnerToolWindow" />
                                            </docking:ToolWindow>
                                        </docking:ToolWindowContainer>
                                    </docking:SplitContainer>
                                </docking:DockSite>
                            </docking:DocumentWindow>
                        </docking:TabbedMdiContainer>
                    </docking:TabbedMdiHost>
                </docking:Workspace>

                <docking:ToolWindowContainer>
                    <docking:ToolWindow Title="OuterToolWindow">
                        <Label Content="OuterToolWindow" />
                    </docking:ToolWindow>
                </docking:ToolWindowContainer>
            </docking:SplitContainer>
        </docking:DockSite>
    </Grid>
</Window>

Comments (2)

Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thank you for the sample code.  We've resolved this for the next maintenance release.


Actipro Software Support

Posted 6 months ago by Yuki
Avatar

Hello,

Thank you for your response.

We will wait for next maintenance release.

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.