Hello,
I'm using RadDateTimePicker with the following xaml:
and Custom "DisplayFormat":
On clicking the Picking dialogue Previous and Next Year buttons are available but don't seem do anything on clicking them.
See screenshot below.
Also, the Property
doesn't affect the style of the DateTimePicker box.
I actually want the characters inside the TextBox-like field to be aligned to the right edge of the box.
Thanks in advance,
Mathias
I'm using RadDateTimePicker with the following xaml:
<
telerik:RadDateTimePicker
Loaded
=
"dpFrom_Loaded"
Margin
=
"20,0,0,20"
x:Name
=
"dpTo"
DisplayFormat
=
"Short"
DateSelectionMode
=
"Month"
InputMode
=
"DatePicker"
ErrorTooltipContent
=
"Input is not in a valid date format!"
HorizontalAlignment
=
"Left"
FontFamily
=
"Arial"
FontSize
=
"20"
HorizontalContentAlignment
=
"Right"
SelectedValue
=
"{Binding ElementName=lbProjects, Path=SelectedItem.YearTo, Mode=TwoWay, ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True}"
/>
and Custom "DisplayFormat":
private void dpFrom_Loaded(object sender, RoutedEventArgs e)
{
(sender as RadDateTimePicker).Culture = new System.Globalization.CultureInfo("en-US")
{
DateTimeFormat = new System.Globalization.DateTimeFormatInfo
{
ShortDatePattern = "MM/yyyy"
}
};
}
On clicking the Picking dialogue Previous and Next Year buttons are available but don't seem do anything on clicking them.
See screenshot below.
Also, the Property
HorizontalContentAlignment="Right"
I actually want the characters inside the TextBox-like field to be aligned to the right edge of the box.
Thanks in advance,
Mathias