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

Unable to edit a default template in Blend

5 Answers 449 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Rellik
Top achievements
Rank 1
Rellik asked on 25 Feb 2014, 10:01 PM
I'm trying to follow the tutorial here. http://www.telerik.com/help/wpf/radtreeview-styling-and-appearance-styling-radtreeviewitem.html

However, when I did the same thing, I couldn't find the option for editing a copy of the default style. The only option I had is creating an empty one which doesn't include anything thing. I also tried ItemContainerStyle, no luck also.




Did I miss anything?

5 Answers, 1 is accepted

Sort by
0
Rellik
Top achievements
Rank 1
answered on 25 Feb 2014, 10:02 PM
Forgot to attach the screenshot
0
Petar Mladenov
Telerik team
answered on 28 Feb 2014, 02:23 PM
Hello Rellik,

Indeed, it is possible to see the Edit Style button disabled in Blend. We think this is more like VS / Blend issue than one related to issues in our code.
However, could you please try the following steps in order to resolve this:
  • Clean and Rebuild the VS project
  •         Open the Blend via right click , open in Blend on the project file, not on the solution file.
  •         Perform the steps described in our documentation.
If you are using VS 2012 you can also use the Designer in VS , right click on the RadTreeViewItem, Edit Template Button - Edit Style.

Regards,
Petar Mladenov
Telerik
0
Rellik
Top achievements
Rank 1
answered on 01 Mar 2014, 01:41 AM
Hi Petar,

Tried both options, still not working :( I'm using VS 2013 and Blend 2013. Also tried Blend 2012, no good.

Could you please just give me the default template for RadTreeViewItem?

Thanks,
Rellik
0
Boris
Telerik team
answered on 03 Mar 2014, 12:12 PM
Hello Rellik,

I attached a sample project which contains the extracted default RadTreeViewItemStyle. Still, in cases where you can't use Blend or VS2012/3 to extract a Telerik UI for WPF component's default Style or Template, you can manually copy them from our style resources. This approach is further described in the Editing Control Templates tutorial.

Let me know if this helps.

Regards,
Boris Penev
Telerik
0
Rellik
Top achievements
Rank 1
answered on 10 Mar 2014, 02:58 AM
Thanks! This is exactly what im looking for.
Tags
TreeView
Asked by
Rellik
Top achievements
Rank 1
Answers by
Rellik
Top achievements
Rank 1
Petar Mladenov
Telerik team
Boris
Telerik team
Share this question
or