Hi,
I'm basically trying to insert a user Control in a big RadDockPane. This works fine. The problem I'm encountering is when I try to divide the two components in my user control with docking elements. When I try to insert the User Control with the docking elements, my application crashes instantly.
In my main page I have the following:
Note that the above works when I don't use any of the RadDock elements inside my "TestControl".
In my TestControl I also have something very simple:
Any hints on this?
Thanks in advance.
I'm basically trying to insert a user Control in a big RadDockPane. This works fine. The problem I'm encountering is when I try to divide the two components in my user control with docking elements. When I try to insert the User Control with the docking elements, my application crashes instantly.
In my main page I have the following:
... <docking:RadPane.Content> |
<local:TestControl x:Name="TControl1"/> |
</docking:RadPane.Content> .... |
Note that the above works when I don't use any of the RadDock elements inside my "TestControl".
In my TestControl I also have something very simple:
<UserControl x:Class="MyClass.TestControl" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns:docking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" |
Width="Auto" Height="Auto"> |
<Canvas> |
<docking:RadDocking > |
<docking:RadSplitContainer> |
<docking:RadPaneGroup> |
<docking:RadPane Width="200"> |
<docking:RadPane.Content> |
<TextBlock Text="Content1" /> |
</docking:RadPane.Content> |
</docking:RadPane> |
</docking:RadPaneGroup> |
</docking:RadSplitContainer> |
<docking:RadSplitContainer> |
<docking:RadPaneGroup> |
<docking:RadPane Width="800"> |
<docking:RadPane.Content> |
<TextBlock Text="Content2" /> |
</docking:RadPane.Content> |
</docking:RadPane> |
</docking:RadPaneGroup> |
</docking:RadSplitContainer> |
</docking:RadDocking> |
</Canvas> |
</UserControl> |
Any hints on this?
Thanks in advance.