With the version 13 of ActiPro I used a DockSite in UserControl and it's working.
Now I try to use the version 17.2.665.0 (for corect the bug floating ToolWindow).
But my userControl dons't work.
I correct some part of code C# and WPF beacause there are some property changed.
The project compil good, I can see my UserControl in disgn mode xaml, but when I use my UserControl in new Windows I have a problem in disgn mode on xaml.
Error : This operation is invalid since the DockingWindow has not yet been registerd with a DockSite.
StackTrace : ActiproSoftware.Windows.Controls.Docking.ToolWindow.AutoHideCore(Nullable'1 side)
<UserControl x:Class="Aucotec.EngineeringBase.Client.PlugIns.Manufacturing.View.HarnessGraphic2DEditorControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
mc:Ignorable="d"
d:DesignHeight="531.333" d:DesignWidth="1282.667" PreviewKeyDown="UserControl_PreviewKeyDown">
<docking:DockSite Name="dockSiteMain">
<docking:SplitContainer>
<docking:Workspace>
<Grid>
...
</Grid>
</docking:Workspace>
<docking:ToolWindowContainer>
<docking:ToolWindow Name="twOptions" CanClose="False" Title="{Binding Path=Localizing.GrpSettings}">
<StackPanel>
...
</StackPanel>
</docking:ToolWindow>
<docking:ToolWindow Name="twPosition" Title="{Binding Path=Localizing.GrpPosition}" CanClose="False">
<Grid>
...
</Grid>
</docking:ToolWindow>
</docking:ToolWindowContainer>
<docking:ToolWindowContainer>
<docking:ToolWindow Name="twSelectPath"
Title="{Binding Path=Localizing.BtnSelectRoutingPath}" CanClose="False">
<StackPanel>
...
</StackPanel>
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:SplitContainer>
</docking:DockSite>
</UserControl>