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

Custom RadPane (Docking) Header ( Not default rectangle)

1 Answer 60 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
LI
Top achievements
Rank 1
LI asked on 12 Jul 2012, 01:35 AM
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

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 13 Jul 2012, 01:57 PM
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,
Todor
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Docking
Asked by
LI
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or