How to Disable the docking containerSplitter fo the docksite ?
As i can easily disable the containersplitter but it will disable the container splitter for all the docksite.
<Style TargetType="docking:ContainerSplitter">
<Setter Property="IsEnabled" Value="False" />
</Style>
Suppose i created the application using the pismIntegartion with docking that consist of four docksites named Docksite1,Docksite2,Docksite3,Docksite4.
and Docksite4 consist of two toolwindows so its automatically will show the container splitter between the toolwindows of the Docksite4.I want to Disable the docking containerSplitter fo the docksite4 but it should be enable for the remaining docksites i.e. for the Docksite1 and the Docksite2 and the Dopcksite3.
I use the key concept for the style like
<Style x:Key="dockingSplitter" TargetType="docking:ContainerSplitter">
<Setter Property="IsEnabled" Value="False" />
</Style>
and apply it on the Docksite4
<docking:DockSite x:Name="Docksite4" Style="{StaticResource dockingSplitter}" docking:DockSite> But its showing the exception.
Exception:----
{"'ContainerSplitter' TargetType does not match type of element 'DockSite'."} ('Set property 'System.Windows.FrameworkElement.Style' threw an exception.' Line number '119' and line position '47'.)