Hi,
Can i block docking functionality for the toolwindow ?
Means if i have three toolwindows in the single docksite and i can float any of the toolwindows form that docksite and I should not be able to dock any tool window into any other toolwindow but that toolwindow should be float and then doubleclick the toolwindow it will automatically reset to the docksite.
ForExample.
<docking:DockSite x:Name="DOCKSITE1">
<docking:ToolWindowContainer><docking:ToolWindow>
<docking:DockSite>
<docking:SplitContainer Orientation="Horizontal">
<docking:ToolWindowContainer><docking:ToolWindow x:Name="TW1" Title="aas"></docking:ToolWindow></docking:ToolWindowContainer>
<docking:ToolWindowContainer><docking:ToolWindow x:Name="TW2" Title="fdfdf"></docking:ToolWindow></docking:ToolWindowContainer>
<docking:ToolWindowContainer><docking:ToolWindow x:Name="TW3" Title="dddd"></docking:ToolWindow></docking:ToolWindowContainer>
</docking:SplitContainer>
</docking:DockSite>
</docking:ToolWindow></docking:ToolWindowContainer>
</docking:DockSite>
Above sample consist of BaseToolwindow and its three child toolwindows named tw1,tw2,tw3 respectively.
If i float any of the child toolwindow from the base toolwindow and then double click the floated toolwindow it will repositioned to the Basetoolwindow.
if i float the entire BaseToolWindow and the float any of the child toolwindow and then double click the floated child toolwindow and then double click the floated Its readjusting to the base toolwindow.
But the problem is above functionlaities should work but docking for any of the toolwindow should not work means i should not be able to dock any of the toolwindow into any toolwindow.