I am using XamNumericEditor and want to remove the thousands separator which is gifted to me when I choose double, currency or number. Below I am using double and want to keep the dot separator but loose the thousands comma separator.
Thanks,
Glenn
<Style TargetType="{x:Type igEditors:XamNumericEditor}" > <Setter Property="Mask" Value="{}{double:-10.1:c}"/> </Style>
Hello,
I believe that post should be rather in the xamEditors domain rather than here. In order to omit the throusands separator, you can use the format property, as well as mask like this:
Format="#########.##"
or
Format="### ### ###.##"
You can see some masks here.
Hope this helps.
Alex,
Thanks for the info. Using that mask creates a rather ugly appearance of the numbers. (see image). I tried it with double, char, number with no improvement. You are right about one thing, it does remove the thousands separator. See the Synch Max column.
<Style TargetType="{x:Type igEditors:XamNumericEditor}"> <Setter Property="Mask" Value="{}{#########.##}"/> </Style>
Glenn,
Try this:
<Style TargetType="{x:Type igEditors:XamNumericEditor}"> <Setter Property="Mask" Value="#########.##"/><Setter Property="Format" Value="#########.##"/></Style>