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

Styles for the Datetimepicker

1 Answer 116 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Srinivas
Top achievements
Rank 1
Srinivas asked on 29 Sep 2010, 04:15 PM


Hello teleriks,

Can we able to set the customiable styles for datetimepicker ?

 when i tried it only allows me to pput style for fontsize and fontstyle for the date we type . can we put styles like

background foreground ?

The style can define:

- Text Font style, size, color and alignment.

- Background / Foreground colors.

- Tooltip style (font, background and foreground).

- Image (size and position).

- Style of the associated button.



Please reply me . share me some sample if you have.

Thanks & regards,
srinivas

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 04 Oct 2010, 09:02 AM
Hello Srinivas,

You can not set these as properties on the RadDateTimePicker. However it is really easy to do so using Expression Blend. The DateTimePicker has relatively simple ControlTemplate and you can edit the icon, move it on other position, change the content of the popup. If you do not have blend though you will have to use some XAML knowledge. You can get the styles from the attached file, change the Style x:keys and then modify the template by hand.

Sincerely yours,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DateTimePicker
Asked by
Srinivas
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or