Scrolling the pane headers

2 posts, 0 answers
  1. Huha
    Huha avatar
    4 posts
    Member since:
    Apr 2009

    Posted 28 Jul 2009 Link to this post

    Dear Telerik,

    I made a Dockpanel:

     

     

     

    <radDock:RadDocking.DocumentHost>  
     
    <radDock:RadSplitContainer>  
     
    <radDock:RadPaneGroup x:Name="MainPaneGroup">  
     
    </radDock:RadPaneGroup>  
     
    </radDock:RadSplitContainer>  
     
    </radDock:RadDocking.DocumentHost>  
     

    And after this I added new panes to this group from code. The problem was If I add too many panes the headers doesn't scroll. Is there any way to solve this?

    Regards,
    János

     

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 29 Jul 2009 Link to this post

    Hi Huha,

    What you need to do is to change the DocumentHostTemplate of the PaneGroup that you need to have this ability. I would recommend you to create a custom theme and to change this template for all the groups in your Docking control, because the PaneGroups might be created dynamically.

    The pane headers are shown in the ItemsPresenter with name ItemsPresenterElement.

    Hope this helps.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Back to Top