RadDocking.DocumentHost, Caliburn.Micro and ContentControl

Topics: Actions & Coroutines, Bootstrappers & IoC, Framework Services
May 23, 2013 at 1:23 PM
Greetings,

I have a project using Telerik and Caliburn.Micro. Up to this point everything has been smooth, clean, light and flawless. However, I've hit a roadblock and now need serious help. I need to use custom controls within the DocumentHost portion of the RadDocking framework. Below is XAML declarations that identifies a declaration that does work, and one that does not work using the same control.

Does NOT work:
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
    <telerik:RadPaneGroup>
        <telerik:RadDocumentPane Title="Document" x:Name="uxRadDocumentPane">
            <telerik:RadDocumentPane.Content>
                <StackPanel Background="Bisque">
                    <ContentControl x:Name="ImageControlImageViewModel"/>
                </StackPanel>
            </telerik:RadDocumentPane.Content>
        </telerik:RadDocumentPane>
    </telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>


Does work:
<telerik:RadSplitContainer>
<telerik:RadPaneGroup>
    <telerik:RadDocumentPane Title="Document">
        <telerik:RadDocumentPane.Content>
            <StackPanel Background="Bisque">
                <ContentControl x:Name="ImageControlImageViewModel2"/>
            </StackPanel>
        </telerik:RadDocumentPane.Content>
    </telerik:RadDocumentPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>


As you can see, the declarations are nearly identical. The user control is identical, only has a different reference name. This work only when I remove the DocumentHost container. How can I get this to work and still keep the implementation lean, mean and clean?

Thank you,

Will