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

Theming non-Telerik Controls

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 11 Apr 2011, 03:02 PM
I have a question about Telerik brushes.

I realize that the Telerik themes work for all Telerik WPF controls and 8 non-Telerik control types.

What I want to do is set some colors for other controls including our own custom controls to match the Telerik theme colors.
My question is this:
Is there a list available with the common brushes used in the themes so I can set my control resource dict to use those colors?
For example, previously we used Nukeation themes and I could use their brushes like WindowBackgroundBrush to make our stuff match their theme. To make (for example) a custom control background match the Nukeation theme, I merely needed to set its background to the WindowBackgroundBrush.

I looked at the Telerik Source code but there are billions of brushes defined in hundreds of XAML files so it is difficult to know what are the common brushes used.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 12 Apr 2011, 12:00 PM
Hello Bill,

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


Thank you for your interest in our controls!  We ship our themes as separate projects as part of the Telerik control suite. Regarding the Telerik theming mechanism the resources used in each template are separated per style. If you need to gather them within a single file named Brushes.xaml you should do it manually.
Indeed  some of the brush resources are shared across the templates, but we do not provide a full list of these resources. The Generic.xaml is used to merge the resource dictionaries, that contain the templates of the controls belonging to a particular assembly. 



If you need any additional information please let us know.


All the best,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Bill
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or