This is a migrated thread and some comments may be shown as answers.

Is there a way to change the tabstripplacement to the left on the document host?

3 Answers 104 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Lana
Top achievements
Rank 1
Lana asked on 22 Aug 2011, 09:06 PM
I am using multiple docking panes in my page, but would like the tabs for the main document host tabs to be placed on the left instead of the top.  Is this possible?  I have tried setting the TabStripPlacement="Left", but it doesn't do anything.

<telerik:RadDocking x:Name="radDocking" telerik:StyleManager.Theme="Windows7" Unpin="radDocking_Unpin" Pin="radDocking_Pin" AllowUnsafeMode="True" Opacity="0.95" Margin="0,0,0,0" VerticalAlignment="Top">

<telerik:RadDocking.DocumentHost>

<telerik:RadSplitContainer>

<telerik:RadPaneGroup x:Name="radTabs" TabStripPlacement="Left" TabOrientation="Horizontal" AllTabsEqualHeight="True" Background="White" Margin="0" SelectedIndex="1" TabIndex="0" Align="Left" HorizontalContentAlignment="Center">

<telerik:RadPane HeaderTemplate="{StaticResource TabHeader}" Header="Policy Information" x:Name="tabPolicyInfo" Margin="0,0,2,0" CanUserClose="False" CanFloat="False" IsSelected="True">

</telerik:RadPane>
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
</telerik:RadDocking>

Thanks,
Lana

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 24 Aug 2011, 04:18 PM
Hello Lana,

The TabStripPlacement is inherited property from the Tab Control and it is not supported by the Docking control. Unfortunately, this cannot be achieved with the current implementation of the control.
Sorry for the caused inconvenience.

Regards,
Konstantina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Mathieu
Top achievements
Rank 1
answered on 15 Dec 2016, 01:47 PM

Hello,

 

What about this "implementation" 5 YEARS later?

 

0
Nasko
Telerik team
answered on 20 Dec 2016, 10:03 AM
Hi Mathieu,

As mentioned in the previous response the TabStripPlacement property is inherited by the RadTabControl and it is not implemented in the RadPaneGroup's source code so it doesn't work with the control. However, in order to achieve the desired effect you can modify the default Template of RadDocking.

In order to make the document panes look like as desired we should modify the DocumentHostTemplate of the RadDocumentPane to mimic the PaneBottomTemplate instead of PaneDocumentHostTemplate. Please, check the attached sample that demonstrates that approach - the sample uses Implicit Styles

Hope this helps.

Regards,
Nasko
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Docking
Asked by
Lana
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Mathieu
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or