RadDocking align tabs on right not working

2 posts, 0 answers
  1. Amy
    Amy avatar
    1 posts
    Member since:
    Jun 2011

    Posted 11 Jul 2011 Link to this post

    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....
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 13 Jul 2011 Link to this post

    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!

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top