I have ValueType of XamNumericEditor set to Double. However, a user could enter 1 or 1.0 or 1.1 or -1.1. If a number with decimal is entered, I do not want decimal displayed. If the number is positive, I do not want "+" displayed. I have tried several masks but none of them fit the bill:
-9999999999.9999999999 always displays a minus sign infront of the number as well as the decimal operator even if I have a whole number.
-nnnnnnnnnn.nnnnnnnnnn displays zero after the decimal placeholder even when I enter a whole number.
TIA.
HI,
I am just following up on this forum's post.
If you need additional help regarding this issue, please let me know.
MattDeveloper Support Engineer
You should consider using a ValueToDisplayTextConverter
Here is a help link:
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=InfragisticsWPF4.Editors.v10.2~Infragistics.Windows.Editors.TextEditorBase~ValueToDisplayTextConverter.html
I created a small sample application for your review.
Sincerely,