Datepicker forecolor

2 posts, 0 answers
  1. Bhakti
    Bhakti avatar
    23 posts
    Member since:
    Jan 2011

    Posted 31 Jan 2012 Link to this post

    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.
  2. Boyan
    Boyan avatar
    758 posts

    Posted 03 Feb 2012 Link to this post


    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.

    the Telerik team

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

Back to Top