Custom RadPane (Docking) Header ( Not default rectangle)

2 posts, 0 answers
  1. LI
    LI avatar
    1 posts
    Member since:
    Jun 2012

    Posted 11 Jul 2012 Link to this post

    I am trying to create a custom header for a RadDocumentPane using a DataTemplate and a custom object that the template binds to.  In my experience with other HeaderedContentControls, I was able to set the Header property to my object and the HeaderTemplate property to my template. But I failed  .
    Please view my screenshots
    Thank you
  2. Todor
    Todor avatar
    168 posts

    Posted 13 Jul 2012 Link to this post

    Hello Li,

    The right way to achieve the desired effect (the one from the image you sent) is to style the RadPane and RadPaneGroup. You can see how to do that by following the links below:

    It is not such a good idea to edit the HeaderTemplate because it is a ContentTemplate and changing it will only modify the way your content displays and not the look and feel of the control.

    Hope these articles will help you.

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top