Subclass RadPane

2 posts, 0 answers
  1. SHAWN
    SHAWN avatar
    5 posts
    Member since:
    Mar 2007

    Posted 11 Oct 2011 Link to this post

    When subclass-ing the RadPane the visual studio designer is broken. All you see is the Pane Header and no body. it looks fine when you run the app.

    Here is my Xaml
    <telerikDocking:RadPane x:Class="RadControlsSilverlightApp3.TestPane"
                 mc:Ignorable="d" Header="test header"
        d:DesignHeight="300" d:DesignWidth="400">
        <Grid x:Name="LayoutRoot" Background="White">
            <TextBlock Text="Test body" />

    here is a screen print
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 13 Oct 2011 Link to this post

    Hello Shawn,

    What you see in the designer is how the pane will be rendered. The RadPane control doesn't render its content as it doesn't have ContentPresenter for it in its ControlTemplate. Hope this helps you understand what happen and why this is expected.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top