In order to set the alignment of the RadDateTimePicker
you can edit its control template and modify the RadWatermarkTextBox
element that is contained so that its TextAlignment
property is set to Right. A possible solution would also be to change it when the RadDateTimePicker is loaded:
sender, RoutedEventArgs e)
RadDateTimePicker).ChildrenOfType<RadWatermarkTextBox>().FirstOrDefault().TextAlignment = TextAlignment.Right;
Unfortunately, replicating the IsInputRestrictedToSelectableDates functionalitywould not be that straightforward so you will need to come up with some custom solution at your end or consider upgrading the control's version.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.