RadDocumentPane tab postion

11 posts, 1 answers
  1. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 26 Nov 2010 Link to this post

    Hi

    By default, the tabs for the RadDocumentPane appear at the top of the window - for normal Panes, they appear at the bottom. I'd like the RadDocumentPane tabs to also appear at the bottom. I thought the following XAML would do the trick, but it seems not to:

    Thanks in advance.

    <telerik:RadDocking.DocumentHost>
         <telerik:RadSplitContainer Name="DocContainer">
             <telerik:RadPaneGroup  TabStripPlacement="Bottom">
                  <telerik:RadDocumentPane Header="Page 1"/>
             </telerik:RadPaneGroup>
        </telerik:RadSplitContainer Name="DocContainer">
    </telerik:RadDocking.DocumentHost
  2. George
    Admin
    George avatar
    1332 posts

    Posted 29 Nov 2010 Link to this post

    Hi Tom,

    The TabStripPlacement property is not supported in RadDocking control. For more information about not supported properties, please refer to our online documentation - http://www.telerik.com/help/wpf/not-supported-properties.html.

    Sorry for any inconvenience caused.

    All the best,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 29 Nov 2010 Link to this post

    Hi George

    Thanks for the response. Is there an easy way to do what I want? From what I've read, it seems  I need to create a custom Template for my DocumentPanes, and this requires the use of ExpressionBlend, which I don't have access to.

    Is there a more simple quick and easy way to change the tab placement position to the bottom? I don't mind editing Telerik source code to get this done if needs be.

    Thanks
    Tom
  5. George
    Admin
    George avatar
    1332 posts

    Posted 29 Nov 2010 Link to this post

    Hello Tom,

    The easiest way to accomplish this is using a custom template for RadDocking. Could you please specify which theme you use? If you want, I could send you the RadDocking theme for you so you could easily edit it.

     

    Regards,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  6. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 29 Nov 2010 Link to this post

    At the moment my app can switch between different themes. I've had a look at the existing themes to try and see if I can hand edit them, but I'm not totally clear what I need to edit. If you could send me an example theme with the DocumentPane tabs at the bottom, that would be brilliant. I could do a diff and see what has changed from the original.
  7. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 01 Dec 2010 Link to this post

    Hi Tom,

    I would suggest you to edit the DocumentHostTemplate of the RadPaneGroup. Attached you can find the file.

    I hope this helps. 

    Greetings,
    George
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  8. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    Hi

    Thanks for the xml file. Would it be possible to point me to the line I need to edit, and to tell me what I then have to do with this xml file to use it in my solution?

    Thanks
    Tom Davies
  9. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    Hi

    I've managed to get the behviour I wanted by searching the Telerik source files for all instances of PaneGroupDocumentTemplate in the Telerik source code, and changing round the Grid.Row properties of the ContentControl and TabStrip in each one, then recompiling the source code.

    Thanks for the help
    Tom
  10. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2014

    Posted 02 Apr 2014 Link to this post

    Hello,

    I want to do something like show RadDocumentPane tabs and be able to organize them among the docking stations.

    Then have the tab templates be customized with an ImageSource and TextBlock.

    At the moment the best I've been able to do is have the TitleTemplate customized. Our XAML is like this, but I'm sure this needs to be fleshed out a bit.

    <telerik:RadDocking x:Name="Dock" Grid.Row="1">
      <telerik:RadSplitContainer>
        <telerik:RadPaneGroup x:Name="Group" />
      </telerik:RadSplitContainer>
    </telerik:RadDocking>

    Bearing in mind my working knowledge of docking is somewhat clumsy at the moment.

    Thank you.

    Best regards.
  11. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2014

    Posted 02 Apr 2014 in reply to Tom Link to this post

    Responding to Tom's reply 12/1/2010, how elaborate of a solution are we looking at? Are there any (simple-ish) examples we can review to learn what we need/want to do to accomplish this? Goals in mind are, showing document tabs, customizing with stacked controls, image and text-block, and so on.
  12. George
    Admin
    George avatar
    1332 posts

    Posted 04 Apr 2014 Link to this post

    Hi Michael,

    If you want to add some custom elements to the pane header, I would suggest using the RadPane.HeaderTemplate property. Here is a detailed article which describes how to achieve this - http://www.telerik.com/help/wpf/raddocking-how-to-add-icon-pane-header.html

    Regards,
    George
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready