Hi,
I have a requirement to add a RadPane in DocumentHost on the click of a button. My markup for Docking control is as follows
<DataTemplate x:Key="ContentTemplate">
<ContentControl regions:RegionManager.RegionName="TabRegion"></ContentControl>
</DataTemplate>
<telerik:RadDocking x:Name="radDocking1" BorderThickness="0" Padding="0">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup
x:Name="DockContent"
ContentTemplate="{StaticResource ContentTemplate}">
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>
I need to have same layout in each pane of the document host, hence I am binding the content to a template where I have a Prism region. Initially i want one RadPane to be there and on click of button, the panes add up with the same content template. I am going with RadDocking here is because my basic requirement is to have side by side view of two documents as in Visual Studio 2010.
Also I would want the RadPane to have the capability to minimize and maximize.
I am using Prism 4 with Silverlight 4.
Any help is appreciated.
Thanks in advance
Syam
I have a requirement to add a RadPane in DocumentHost on the click of a button. My markup for Docking control is as follows
<DataTemplate x:Key="ContentTemplate">
<ContentControl regions:RegionManager.RegionName="TabRegion"></ContentControl>
</DataTemplate>
<telerik:RadDocking x:Name="radDocking1" BorderThickness="0" Padding="0">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup
x:Name="DockContent"
ContentTemplate="{StaticResource ContentTemplate}">
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>
I need to have same layout in each pane of the document host, hence I am binding the content to a template where I have a Prism region. Initially i want one RadPane to be there and on click of button, the panes add up with the same content template. I am going with RadDocking here is because my basic requirement is to have side by side view of two documents as in Visual Studio 2010.
Also I would want the RadPane to have the capability to minimize and maximize.
I am using Prism 4 with Silverlight 4.
Any help is appreciated.
Thanks in advance
Syam