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

calendar button style query

1 Answer 19 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Avneesh
Top achievements
Rank 1
Avneesh asked on 21 Nov 2013, 10:27 PM
Hi,
I wanted to apply Custom style to the month button of the raddatepicker when user has moved to month mode. it is currently is showing orange border with a month button in it. How can I change that to use my custom color? 
Thanks

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 26 Nov 2013, 11:22 AM
Hi Avneesh,

In order to modify the colors of the Month buttons basically you will need to extract and modify the ButtonChromeStyle. You will have to change the values of the brushes for the Highlighted and Focused states as required. For your convenience I have prepared and attached a sample project which demonstrates the exact approach.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
DatePicker
Asked by
Avneesh
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or