Hello Telerik,
So.. i have a RadDateTimePicker to which i want to apply Windows8TouchTheme and i want to change the content of Close Button.
To accomplish this, i've generated the style in Blend, i've searched the CloseButtonContainer and i've changed the content of Close Button and everything works perfectly.
But now, if i want to apply the theme, this is not being applied. It doesn't metter where i'm trying to apply.
This is my RadDateTimePicker:
<
telerik:RadDateTimePicker
DateTimeWatermarkContent
=
"Select a date"
StartTime
=
"00:00"
EndTime
=
"23:59"
TimeInterval
=
"1:00"
Style
=
"{StaticResource ResourceKey=RadDateTimePickerStyle}"
>
</
telerik:RadDateTimePicker
>
And this is my style:
<
Style
x:Key
=
"RadDateTimePickerStyle"
TargetType
=
"{x:Type telerik:RadDateTimePicker}"
>
<
Setter
Property
=
"telerik:StyleManager.Theme"
Value
=
"Windows8Touch"
/>
<
Setter
Property
=
"Margin"
Value
=
"5"
/>......
And i've tried to apply the theme like this too:
<
telerik:RadDateTimePicker
DateTimeWatermarkContent
=
"Select a date"
StartTime
=
"00:00"
EndTime
=
"23:59"
TimeInterval
=
"1:00"
Style
=
"{StaticResource ResourceKey=RadDateTimePickerStyle}"
telerik:StyleManager.Theme
=
"Windows8Touch"
>
</
telerik:RadDateTimePicker
>
So.. please .. please help me!!
Thank you in advance!