<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:moduleA="clr-namespace:ModuleA;assembly=ModuleA"
                    
    xmlns:moduleB="clr-namespace:ModuleB;assembly=ModuleB"
                    xmlns:local="clr-namespace:RadDockingAndPRISM">
    <DataTemplate DataType="{x:Type moduleA:Panel1Vm}">
        <Border Background="Green">
            <local:CacheContentControl ContentType="{x:Type moduleA:Pane1 }" Margin="5"/>
        </Border>

    </DataTemplate>

    <DataTemplate DataType="{x:Type moduleA:Panel2Vm}">
        <Border Background="Green">
            <local:CacheContentControl ContentType="{x:Type moduleA:Pane2 }" Margin="5"/>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type moduleB:Panel3Vm}">
        <Border Background="Green">
            <local:CacheContentControl ContentType="{x:Type moduleB:Pane3 }" Margin="5"/>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type moduleB:Panel4Vm}">
        <Border Background="Green">
            <local:CacheContentControl ContentType="{x:Type moduleB:Pane4 }" Margin="5"/>
        </Border>
    </DataTemplate>
</ResourceDictionary>