6 Answers, 1 is accepted
0
Hello,
By default when you place Panes in a PaneGroup that is not inside a DocumentHost the TabStripPlacement property is set to Bottom. In the current version of RadDocking only the Top and Bottom settings are supported, the Left and Right settings are available so that they could be customized and implemented.
The next sample code snippet shows how to set the TabStripPlacement of a PaneGroup to Top:
Kind regards,
Vladi
the Telerik team
By default when you place Panes in a PaneGroup that is not inside a DocumentHost the TabStripPlacement property is set to Bottom. In the current version of RadDocking only the Top and Bottom settings are supported, the Left and Right settings are available so that they could be customized and implemented.
The next sample code snippet shows how to set the TabStripPlacement of a PaneGroup to Top:
<
telerik:RadDocking
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
TabStripPlacement
=
"Top"
>
<
telerik:RadPane
Header
=
"Pane 1"
/>
<
telerik:RadPane
Header
=
"Pane 2"
/>
<
telerik:RadPane
Header
=
"Pane 3"
/>
<
telerik:RadPane
Header
=
"Pane 4"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
Kind regards,
Vladi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

mg
Top achievements
Rank 1
answered on 05 Apr 2013, 08:02 AM
Thanks Vladi.
What about a RadPaneGroup that is inside a DocumentHost? Is it possible to have TabStripPlacement (Top|Bottom) working?
What about a RadPaneGroup that is inside a DocumentHost? Is it possible to have TabStripPlacement (Top|Bottom) working?
0
Hi,
In the current version of RadDocking setting the TabStripPlacement for panes placed inside the DocumentHost is not supported.
If you want to customize the placement of the strip for the Panes that are inside the DocumentHost you will need to customize the PaneDocumentHostTemplate of the control.
Greetings,
Vladi
the Telerik team
In the current version of RadDocking setting the TabStripPlacement for panes placed inside the DocumentHost is not supported.
If you want to customize the placement of the strip for the Panes that are inside the DocumentHost you will need to customize the PaneDocumentHostTemplate of the control.
Greetings,
Vladi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0

Y
Top achievements
Rank 1
answered on 29 Jul 2013, 11:19 AM
Hi,
I've saved the Layout of my pages with RadDocking.SaveLayout methode and try to load it with Raddocking.LoadLayout at next program start. But RadDocking.SaveLayout doesn't write out the TabStripPlacemant property, Raddocking.LoadLayout doesn't read the property and set TabStripPlacemant with default value (Bottom). I've tried to set TabStripPlacemant ="Top" in code behind after Raddocking.LoadLayout but it has no effect.
Is there any workaround?
best regards
I've saved the Layout of my pages with RadDocking.SaveLayout methode and try to load it with Raddocking.LoadLayout at next program start. But RadDocking.SaveLayout doesn't write out the TabStripPlacemant property, Raddocking.LoadLayout doesn't read the property and set TabStripPlacemant with default value (Bottom). I've tried to set TabStripPlacemant ="Top" in code behind after Raddocking.LoadLayout but it has no effect.
Is there any workaround?
best regards
0
Hi,
In the RadDocking control in order for the properties of the components of the control to be saved and loaded by the built-in Save/Load layout functionality you will need to set the SerializationTag attached property to the desired RadPaneGroups, RadPanes etc. In order for the TabStripPlacement to be saved and loaded all you need to do is make sure that the telerik:RadDocking.SerializationTag attached property is set to that RadPaneGroup. The next code snippet shows how the Docking control should look like:
Hope this is helpful.
Regards,
Vladi
Telerik
In the RadDocking control in order for the properties of the components of the control to be saved and loaded by the built-in Save/Load layout functionality you will need to set the SerializationTag attached property to the desired RadPaneGroups, RadPanes etc. In order for the TabStripPlacement to be saved and loaded all you need to do is make sure that the telerik:RadDocking.SerializationTag attached property is set to that RadPaneGroup. The next code snippet shows how the Docking control should look like:
<
telerik:RadDocking
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
TabStripPlacement
=
"Top"
telerik:RadDocking.SerializationTag
=
"RadPaneGroup1"
>
<
telerik:RadPane
Header
=
"Pane Left 1"
x:Name
=
"Pane1"
telerik:RadDocking.SerializationTag
=
"PaneLeft1"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
Hope this is helpful.
Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0

Y
Top achievements
Rank 1
answered on 29 Jul 2013, 12:41 PM
yep, it works fine.
thanks
thanks