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

how to create datepicker style ?

4 Answers 123 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
raj
Top achievements
Rank 1
raj asked on 14 Jul 2011, 09:33 AM
Hi,
I have to modify the style of Datepicker control which is displaying at right top corner of SchedulerView control, please see the attached image.
I am not able to see that in Expression Blend.

Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 15 Jul 2011, 09:51 AM
Hi Raj,

In order to be able to modify the style for RadDatePicker control in the navigation header of RadScheduleView, you need to generate the control template of RadScheduleView as there is no exposed style property for the RadDatePicker in particular.

In the generated template search for NavigationDateTimePickerStyle.

I hope this helps.


All the best,
Dani
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
raj
Top achievements
Rank 1
answered on 15 Jul 2011, 10:22 AM
Hi Dani,
Thanks for reply,

I have generated control template from blend and found the NavigationDateTimePickerStyle, but how can i modify that black header and mouse hover styles in expression blend ?

I am not able to see any color resources in resource view.

any way to do it ?

Thanks again.

0
Accepted
Dani
Telerik team
answered on 15 Jul 2011, 12:59 PM
Hello Raj,

RadDatePicker contains a drop-down button with a RadCalendar inside of it. So if you need to change the header background of the calendar, you need to modify the Style for the RadCalendar control.

To do that, follow these steps:

- Find the PART_Navigation RadDatePicker and edit its current template (NavigationDateTimePicker.png)
- Generate the Style for the RadCalendar control (CalendarStyle.png)
- Change the HeaderBackground brush that was generated together with the style of RadCalendar

Which mouse over visual states do you want to change?


Regards,
Dani
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
raj
Top achievements
Rank 1
answered on 15 Jul 2011, 01:57 PM
Hi Dani,
Thanks for your help its working.
Tags
ScheduleView
Asked by
raj
Top achievements
Rank 1
Answers by
Dani
Telerik team
raj
Top achievements
Rank 1
Share this question
or