Code is not visible

Apr 11 at 6:47 AM
I am working with avalon dock for last few months and everything was working perfectly untill i wanted to load some datatemplate from resourcedictionary. When i load the particular resource dictionary everything is visible except the part i written using avalondock. The datatemplate basically contain textboxes and comboboxes. i wanted to add a tab so i used a layoutdocument.
Am not able to understand were am going wrong.

<DataTemplate DataType="{x:Type loc:vm1}">
<Grid Background="Gray" Height="595" Width="775">
    <Grid.RowDefinitions>
        <RowDefinition Height="115*"/>
        <RowDefinition Height="256*"/>
        <RowDefinition Height="222*"/>
    </Grid.RowDefinitions>
    <Grid Grid.Row="0">
    <Label Content="" HorizontalAlignment="Left"/>
    <Label Content="" HorizontalAlignment="Left"/>
   </Grid>
    <xca:DockingManager Grid.Row="1" > // from here is blank
        <xca:LayoutRoot>
            <xca:LayoutPanel>
                <xca:LayoutDocumentPaneGroup>
                    <xca:LayoutDocumentPane x:Name="layoutDocumentPane">
                        <xca:LayoutDocument Title="">
                             <Grid>
                                <Label Content="" HorizontalAlignment="Left" />
                                <Label Content="" />
                                <TextBox HorizontalAlignment="Left" Height="23"/>
                             </Grid>
                        </xca:LayoutDocument>
                        <xca:LayoutDocument Title=""/>
                        <xca:LayoutDocument Title=""/>
                    </xca:LayoutDocumentPane>
                </xca:LayoutDocumentPaneGroup>
            </xca:LayoutPanel>
        </xca:LayoutRoot>
    </xca:DockingManager> // till here
    <Grid Grid.Row="2">
        <Label Content="" HorizontalAlignment="Left" Margin="24,0,0,197" VerticalAlignment="Bottom" FontWeight="Bold"/>
        <CheckBox Content="" HorizontalAlignment="Left" Margin="24,0,0,173" VerticalAlignment="Bottom"/>
        <Label Content="" HorizontalAlignment="Left" Margin="24,0,0,139" VerticalAlignment="Bottom" FontWeight="Bold"/>
    </Grid>
</Grid>
</DataTemplate>