is there any possibility to remove the arrow button on the right-handed side of the date- and time-pickers for Windows 8 Xaml? Or at least to change its background image?
Thanks for helping me :)
9 Answers, 1 is accepted
Thank you for using RadControls for Windows 8!
In order to remove or edit this arrow you can override the control template. The target type is DateTimePickerButton and it is in the Telerik.UI.Xaml.Controls.Input.DateTimePickers namespace. I have prepared you a sample project where I have removed the arrow. Please find the attached file. The template of this part of the control is the TextBlock in the bottom of the Template with x:Name="DropDownGlyph". You can remove the text or style it according to your preferences.
I hope this helps. Let me know if I can assist you in some other way.
Ivaylo Gergov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.


Thanks
Simon

Thanks
Simon
I have prepared two sample projects that demonstrate how you can control the text of the DropDownGlyph depending on the IsEnabled property of the picker:
- Via bindings to a view model
- Via binding directly to the IsEnabled property of the picker using a value converter
I hope this was useful and I look forward to your reply.
Regards,
Rositsa Topchiyska
Telerik

Can you help me figure out how I can hide this arrow in code behind?
In this case I can suggest that you create a UserControl that is represented by a RadDatePicker and use the given example that hides/shows the arrow depending on the RadDatePicker.IsEnabled value. For your convenience, I have attached a project that matches this scenario.
Let me know if this works for you.
Ivaylo Gergov
Telerik

Thanks again,
Simon
I have attached a sample project that demonstrates how to do that. In the Assets folder I have added a ResourceDictionary where are defined all resources you need for the style. The BuildAction of the file is set to Content. Then in the LoadXaml method in the MainPage class the file is read, parsed and the content is added to the Resources of the picker.
I hope this helps. Let me know if I can assist you in some other way.
Regards,
Rositsa Topchiyska
Telerik