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

Custom Theme Brushes

6 Answers 225 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
talal
Top achievements
Rank 1
talal asked on 15 Sep 2011, 08:11 AM
Hi,
I just read in your wpf documentation section to change theme brushes for Metro Custom theme. i.e.

MetroColors.PaletteInstance.MainColor = Colors.Black;
            MetroColors.PaletteInstance.AccentColor = Colors.Orange;
            MetroColors.PaletteInstance.BasicColor = Colors.DarkGray;
            MetroColors.PaletteInstance.StrongColor = Colors.Gray;
            MetroColors.PaletteInstance.MarkerColor = Colors.LightGray;
            MetroColors.PaletteInstance.ValidationColor = Colors.Red;


Can i do the same for other telerik themes like Windows7Theme?

6 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 20 Sep 2011, 07:55 AM
Hi,

Long story short: NO.

I am sorry for the inconvenience.

The color scheme applied in the Metro theme has its drawbacks as the brushes are could not be auto frozen in WPF and one should freeze them manually if he is about to open multiple threads with UI. Also every single item that has a color applied is actually bound and listen for changes.

We will not change existing themes for backward compatibility but it is possible that we will have more colorizable themes in future.

Greetings,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Gonzalo
Top achievements
Rank 2
answered on 03 May 2012, 04:19 PM
What is the actual color code (blueish color)for the default MetroColors.PaletteInstance.AccentColor ?

Thanks

G
0
Vanya Pavlova
Telerik team
answered on 04 May 2012, 08:44 AM
Hi Gonzalo,

 


The hexadecimal color value of the default MetroColors.PaletteInstance.AccentColor is #FF25A0DA.



Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Gonzalo
Top achievements
Rank 2
answered on 04 May 2012, 11:41 AM
Thank you!

Where can I find the a listing of the other default metro colors?

Best regards,

Gonzalo
0
Vanya Pavlova
Telerik team
answered on 07 May 2012, 08:20 AM
Hi Gonzalo,

 
Here is the full list of brush resources and their hexadecimal color values used in Telerik Metro Theme: 

Accent Brush
<SolidColorBrush x:Key="Accent" Value="#FF25A0DA"/>
MainBrush
<SolidColorBrush x:Key="Main" Value="#FFFFFFFF"/>
BasicBrush
<SolidColorBrush x:Key="Basic" Value="#FFD6D4D4"/>
ValidationBrush
<SolidColorBrush x:Key="Validation" Value="#FFE22F07"/>
MarkerBrush
<SolidColorBrush x:Key="Marker" Value="#FF000000"/>
StrongBrush
<SolidColorBrush x:Key="Strong" Value="#FF767676"/>

Regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Gonzalo
Top achievements
Rank 2
answered on 15 May 2012, 09:54 PM
My apologies for not having said "THANK YOU" earlier. Hope you are well. Best regards!

G
Tags
General Discussions
Asked by
talal
Top achievements
Rank 1
Answers by
Pana
Telerik team
Gonzalo
Top achievements
Rank 2
Vanya Pavlova
Telerik team
Share this question
or