Hello,
I am trying to write a xaml code with XamNumericEditor that will take a digit with 15-20 digits before the decimal and 15 after.
I realize XamNumericEditor takes only Double type values. However, Double type values do not provide the precision I need. I looked into XamCurrencyEditor but do not wish to have the '$' sign.
Are there some other ways to approach this using the Editor?
Thank you!
Thank you! I used the latter solution and it works great.
If you choose to use the xamCurrencyEditor, then to get rid of the '$' sign you can use the mask like this:
Mask="{}{double:20.20}".
Another options is to use the xamNumericEditor and set its ValueType property to Decimal, like this:
ValueType={x:Type sys:Decimal}, where 'sys' is xmlns:sys="clr-namespace:System;assembly=mscorlib".
Hope this helps you.
Regards,
Anastas