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

RadDocking align tabs on right not working

1 Answer 134 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Amy
Top achievements
Rank 1
Amy asked on 11 Jul 2011, 03:25 PM
I am trying to use the RadDocking and place the tabs on the right. However, when I set the TabStripPlacement property of the RadPaneGroup to "Right", the tabs take up the entire width of the control. When I set the width of the RadPane, the tab width is decreased, but the selected pane does not take up the remaining space. I have tried a lot of different things with no success - here is the xaml for the RadDocking:

  <telerik:RadDocking BorderBrush="{x:Null}" BorderThickness="0" Padding="0" Name="_dock" Margin="0">           
            <telerik:RadSplitContainer Name="_splitContainer" Width="450">
                <telerik:RadPaneGroup TabStripPlacement="Right" TabOrientation="Horizontal">
                    <telerik:RadPane Header="Item Image" Content="This is an item image" />
                    <telerik:RadPane Header="Tags" Content="These are the tags" />
                </telerik:RadPaneGroup>         
            </telerik:RadSplitContainer>
   </telerik:RadDocking>

Essentially, I'm trying to get the appearance of the TabControl with the TabStripPlacement property set to "Right" with the functionality of the RadDocking.

I would attach images, but I can't figure out how....

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 13 Jul 2011, 09:35 AM
Hello Amy,

You can not move the tabs to the right. This is functionality that is inherited from RadTabControl but it is not implemented in RadDocking's ControlTemplate. The tab placement depends on the type of the RadPaneGroup. If it is in Document host they will be on top. Otherwise they go on the bottom. The tab strip placement does not work the way you would expect. You can try to create custom control template for RadPanes and RadPaneGroups but it would be too much overhead.

I am sorry for the inconvenience.

Regards,
Pana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Docking
Asked by
Amy
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or