This is a migrated thread and some comments may be shown as answers.
Subclass RadPane
1 Answer 14 Views
This is a migrated thread and some comments may be shown as answers.
SHAWN
Top achievements
Rank 1
SHAWN asked on 11 Oct 2011, 10:49 PM
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"
             xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
             mc:Ignorable="d" Header="test header"
    d:DesignHeight="300" d:DesignWidth="400">
     
    <Grid x:Name="LayoutRoot" Background="White">
        <TextBlock Text="Test body" />
    </Grid>
</telerikDocking:RadPane>


here is a screen print
http://screencast.com/t/tPTkM8qXa

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 13 Oct 2011, 01:49 PM
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 >>

Asked by
SHAWN
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or