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

Datepicker forecolor

1 Answer 54 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Bhakti
Top achievements
Rank 1
Bhakti asked on 31 Jan 2012, 05:17 PM
We have Ms. theme look in complete application, The Date picker also has the theme and look, But when datepicker is clicked to select date, the month and year on top shows black in color instead of the theme color which is blue, Any idea?

In the attached pic below. We want to change the forecolor of "February -2012.

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 03 Feb 2012, 07:26 PM
Hello,

Could you please share which theme you are using by default. I suppose you are using Windows7 theme. The button you are refering to is black by design, but its color can be changed by editing the template. I have attached a sample project where I have copied the Windows7 theme style to the App.xaml and have applied the CalendarStyle to the RadDateTimePicker. I have changed the CalendarHeaderButton foreground to Red in the template(you can find the change by searching "NOTE" comment). You can change the color to whatever you feel appropriate.


Greetings,
Boyan
the Telerik team

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

Tags
DatePicker
Asked by
Bhakti
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or