I want to use the XamWebNumericEditor for the up/down buttons, but have no use for a thousands separator since the underlying data is actually a year. How do I remove the thousands separator from this control?
Hi,
I am using XamMaskedEditor to display the decimal number without thousands separator. But there is no culture property on this control.
Please could you help.
<DataTemplate > <igEditor:XamMaskedEditor Mask="{x:Static masks:WeightFieldRestriction.Mask}" Text="{Binding Path=Weight}" /> </DataTemplate>
Thanks for the reply. While that does answer the question, I think that's an unfortunate limitation of the control that should be considered.
For this project, I ended up using the NumericUpDown control from the Silverlight Toolkit.
Hello Jason,Unfortunately you can’t remove the thousands separator from the control. But the possible outcome from the situation is, if you set in xaml:
<igEdit:XamWebNumericEditor ValueType="System:Int32" Culture="nn"/>
When culture is set to "nn" (or ”nn-NO”), the number will have type “1 234”.
I hope this helps :)
Tania