IS there a way to not show the comma in values?
i.e. 1000 instead of 1,000
You can change the 'Culture' of the NumericEditor.
For example:
<ig:XamNumericEditor x:Name="MyEditor" Culture="bg" />
The result in this case (if you set value: 1000) will be -> 1 000.
Hope this helps.
But then decimals are replaced with commas.
There has got to be another way?
Still will have the space tho, I am trying to use this field for a year value. I don't want a space in
the year example 1999 => 1 999
Hello gmcalab,
You can use this approach:
public EditorsCulture()
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(EditorsCulture_Loaded);
}
void EditorsCulture_Loaded(object sender, RoutedEventArgs e)
var culture = new System.Globalization.CultureInfo("en-US");
culture.NumberFormat.NumberGroupSeparator = " ";
nEditor.Culture = culture;
Regards,
Doychin Dochev