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

[Solved] Modify Default Style without Blend

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Duncan
Top achievements
Rank 1
Duncan asked on 16 Sep 2011, 08:20 AM
I'm needing to modify a default style (specifically for the MenuItem, but this is a fairly general question). The instructions for how to do so assume I have access to Expression Blend, which unfortunately my company doesn't provide.

Thus, my question is: how does one go about modifying a default style without using Blend?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pana
Telerik team
answered on 19 Sep 2011, 08:26 AM
Hello Duncan,

First you need the Styles from a Telerik theme for the RadMenu and RadMenuItems. You could find them in the installation folders of RadControls For Silverlight. For example on my computer thy are located here:

C:\Program Files (x86)\Telerik\RadControls for Silverlight Q1 2011 SP1\Themes\OfficeBlack\Themes\Office\Black\RadMenu.xaml

Then you could copy the styles in your project and merge the ResourceDictionary in the App.xaml. All implicit styles from there would apply across your application.

After that you could use your XAML skills to adjust the code. Note that the RadMenuItem has 4 different control templates and there are 2 different styles for Menu and ContextMenu.

Best wishes,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Duncan
Top achievements
Rank 1
answered on 19 Sep 2011, 11:59 PM
Ah, brilliant! Thank you very much.
Tags
General Discussions
Asked by
Duncan
Top achievements
Rank 1
Answers by
Pana
Telerik team
Duncan
Top achievements
Rank 1
Share this question
or