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

Creating a style does not generate resources

1 Answer 51 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 01 Mar 2012, 08:18 PM
From this page: http://www.telerik.com/help/wpf/raddatetimepicker-styling-calendar.html 

It says that if I generate a style, I should get those resources at the bottom (i.e. HeaderBackground).  This never happens.  I get a style, but I can't change the background of the header.  Basically I do not want any of the colors that are defaulted.  I just want to specify new colors overriding ALL that are there.

Has anyone else gotten that to work?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dani
Telerik team
answered on 05 Mar 2012, 10:13 AM
Hi Paul,

Currently Expression Blend will generate the styles with the brushes and resources inline. If you wish to have all resource brushes separately in your resource dictionary, you can use the one from the Themes_WPF solution shipped with the suite. Choose the one that corresponds to the theme you have chosen as a base for your customizations. I attach here a copy of the default Office Black theme for RadDateTimePicker.

In any case, you will need to modify or override each brush manually. You can modify the existing ones, or replace them with your own, but still you will need to do that for one brush at a time.

Hope this helps.

Kind regards,
Dani
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
DateTimePicker
Asked by
Paul
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or