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

Difficulty styling RadCalendar in RadDateTimePicker

1 Answer 55 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Spurk
Top achievements
Rank 1
Spurk asked on 10 Oct 2012, 04:45 PM
I'm having a brutal time styling the RadCalendar nested in RadDateTImePicker.

Mainly, when I follow the instructions here:

http://www.telerik.com/help/wpf/raddatetimepicker-styling-raddatetimepicker.html

The resources are not created in my ResourceDictionary as documented.  I'm simply presented with one style and control template; it appears to be using the native styles built into the control natively instead of spawning the resources in the above walk through.

I'm able to style my own header elements, but getting at the colours for the Calendar grid is where I'm stumped--it's using the 'office black' theme colours.

Any help is appreciated.

-Sheldon

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 15 Oct 2012, 01:07 PM
Hello Sheldon,

In order to customize the calendar in RadDateTimePicker you need to customize the RadCalendarStyle. The simplest way of achieving this is by using Implicit Styles.

When using Implicit Styles after you merge the needed dictionaries (in this case System.Windows, Telerik.Windows.Controls and Telerik.Windows.Controls.Input) you will need to customize the Style with x:Key="RadCalendarStyle" in the Telerik.Windows.Controls.Input.xaml file.

Hope this is helpful.

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Spurk
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or