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

Creating themes

5 Answers 125 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.
Saqib
Top achievements
Rank 1
Saqib asked on 22 Feb 2011, 01:20 PM
Hi

Could you please guide me how to open an existing telerik theme, save a copy of it and reuse it using expression blend?

I'm a designer and am not from development background.
A small step by step procedure or reference to any such tutorial would be highly appreciated. I'm currently using 'RadControls for Silverlight Q3 2010 SP1', Visual Studio 2010 and Expression Blend 4.

Many thanks

Regards,
S.

5 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 22 Feb 2011, 02:11 PM
Hi Saqib,  
Please refer to the following online help articles:
Please give it a try and let me know if you have any difficulties.


Kind regards,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Saqib
Top achievements
Rank 1
answered on 22 Feb 2011, 02:19 PM
Hi

Many thanks for such a prompt reply I'll go through the shared resources and give you a shout again in case of any issues.

Regards,
S.
0
Michael Parsons
Top achievements
Rank 1
answered on 23 Feb 2011, 06:29 AM
Hi I am having trouble implementing setting themes or even using themes.
I am using SL4, Telerlic 2010 Q3, VS2010, and c#
I tried:
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
---
  
<tknv:RadMenu Height="22" Background="White" Margin="0,0,0,0" telerik:StyleManager.Theme="Vista">
and no changes occur.

If I set the theme in the App.Xaml.cs, it does work:

Telerik.Windows.Controls.

 

StyleManager.ApplicationTheme = new Telerik.Windows.Controls.VistaTheme();
However the words in the top menu are cutoff (see attached)

However our application has two possible audiences and would like a different theme for each one, so setting one theme in the app.xaml will not meet that need. The primary area of concern is the color displayed when hovering over a menu item. We would like a type of blue for one path and a green for the other path. So the preferred approach was thought to just override the appropriate colors in the appropriate resources. However I am having trouble finding where to do this. I did try just setting another theme in the code behind for a view file but no change occurred.

I tried the 'Modifying a Built-In Theme' help item, but as I said, I think the preferred approach was to dynamically change the appropriate resources (but maybe not). I has downloaded examples where showing how to edit a theme or resources. I tried the latter without much success, but I am not very familiar with Blend 4 (also I am a developer and a reluctent designer).

Can you provide some guidance and maybe an SL4 example?

 

0
Saqib
Top achievements
Rank 1
answered on 23 Feb 2011, 12:50 PM
Hi

I've posted a support ticket # 397145
I'm trying to edit the hover and pressed states of the button I've created through theme.

Could you please guide me how can I do this?

Regards
S.
0
Vanya Pavlova
Telerik team
answered on 23 Feb 2011, 03:22 PM
Hello Michael,

 
I have already replied to your support ticket.
For those who might be interested in this case I am pasting the answer here as well:

1. When you specify the theme in the App.xaml.cs, it will be applied to all RadControls at runtime, but it would not be visible at design time.
2. Considering the template structure of the RadButton, there is a missing xaml file, which is ButtonChrome.xaml where you can specify the color you need. Please check our online documentation where you can see the template structure of RadButton.nk. 

 

Greetings,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Saqib
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Saqib
Top achievements
Rank 1
Michael Parsons
Top achievements
Rank 1
Share this question
or