This question is locked. New answers and comments are not allowed.
Hi,
i am only saving and loading the layout of the docking ,which is fine ,but there is problem i am applying documenthosttemplate(to show the pane tabs bottom not on the top) in the xaml.but when i load layout of the docking it does not load that template can you please tell me how i can load and apply the template in code.
<telerik:RadDocking x:Name="radDocking1"
Width="Auto"
Height="Auto"
AllowUnsafeMode="True"
Background="{StaticResource isoftBackColour}"
BorderThickness="0">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer Background="{StaticResource isoftBackColour}">
<telerik:RadPaneGroup x:Name="RepGroup"
Margin="0,5,0,0"
DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}"
SelectionChanged="RadPaneGroup_SelectionChanged">
and so on
DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}" is the template responsible for the radpane to be displayed at bottom.this is the template which is not loaded when the layout of the docking is loaded.
with best regards
i am only saving and loading the layout of the docking ,which is fine ,but there is problem i am applying documenthosttemplate(to show the pane tabs bottom not on the top) in the xaml.but when i load layout of the docking it does not load that template can you please tell me how i can load and apply the template in code.
<telerik:RadDocking x:Name="radDocking1"
Width="Auto"
Height="Auto"
AllowUnsafeMode="True"
Background="{StaticResource isoftBackColour}"
BorderThickness="0">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer Background="{StaticResource isoftBackColour}">
<telerik:RadPaneGroup x:Name="RepGroup"
Margin="0,5,0,0"
DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}"
SelectionChanged="RadPaneGroup_SelectionChanged">
and so on
DocumentHostTemplate="{StaticResource RadPaneGroupControlBottomTemplate}" is the template responsible for the radpane to be displayed at bottom.this is the template which is not loaded when the layout of the docking is loaded.
with best regards