I have an issue with RadMaskedNumericInput where the value returned only has 1 decimal even the 2 decimals were input.
The xaml looks like this:
<
telerik:RadMaskedNumericInput
Name
=
"AddHours"
Width
=
"75"
Mask
=
"#,###.##"
SelectionOnFocus
=
"SelectAll"
Value
=
"{Binding AddHours}"
UpdateValueEvent
=
"LostFocus"
Culture
=
"en-CA"
Grid.Column
=
"3"
Grid.Row
=
"1"
HorizontalContentAlignment
=
"Right"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
Margin
=
"3"
Padding
=
"2"
Style
=
"{StaticResource HoursStyle}"
PreviewKeyDown
=
"RadMaskedNumericInput_PreviewKeyDown"
/>
Bound Property
public decimal AddHours
{
get { return addHours; }
set
{
if (addHours != value)
{
addHours = value;
OnPropertyChanged("AddHours");
}
}
}