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

Edit PaneHeader Template Problem

2 Answers 47 Views
Docking
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 09 Nov 2009, 06:45 AM

Hello,

I wish to edit the PaneHeader template using Blend3 but can not seem to make Blend output the template.

I've tried dragging a PaneHeader onto the design surface and selecting Edit Template -> Edit a Copy. Blend only gives me:

 

  <ControlTemplate x:Key="PaneHeaderControlTemplate1" TargetType="Telerik_Windows_Controls_Docking:PaneHeader"/> 

 

Also, I've tried editing the template of the HeaderElement control, within the RadPaneGroup template, but this time receive a AG_E_UNKNOWN_ERROR from Blend.

I'm not having this problem with any other controls, just the PaneHeader. I also had the same problem in Q1 and Q2. Have also tried on a different machine/build with the same results.

If you could please post a copy of the PaneHeader template to get me moving that would be fantastic.

Kind Regards,
James.

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 12 Nov 2009, 08:20 AM
Hello James,

I have attached the Docking's xaml file for Office_Black. You can find the pane header's template by searching:
<Style TargetType="dock:PaneHeader"
for the style and:
<ControlTemplate x:Key="PaneHeaderTemplate" TargetType="dock:PaneHeader">
for the template.

I don't know your project's current status. You may need to include more resources referenced as {StaticResource ... } in the style and control template but some of them may be already added with the rest of the customized elements. Anyway if you insert the template you should be able to find any missing resources within the attached xaml file.

If you need the xaml for other theme you should be able to find it in the trial package within the:
Themes\<theme name>\Themes\<theme name>\Docking.xaml

We've put a lot of effort in the RadDocking control during the last release and we will definitely work on blend's design time compatibility. Thanks for your interest in our controls.

Kind regards,
Panayot
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
James
Top achievements
Rank 1
answered on 12 Nov 2009, 08:53 AM
Thanks very much, just what I needed.
Regards,
James.
Tags
Docking
Asked by
James
Top achievements
Rank 1
Answers by
Pana
Telerik team
James
Top achievements
Rank 1
Share this question
or