Hi all,
I am using a XamNumericEditor with DataBinding to a nullable double value with Format = "#,##0.00".
If I am now deleting the value in the textbox, it gets marked as error with a red rectangle around.
If I am not totally wrong, this shouldn't happen... What did I miss?
I attached a very simple testproject.
Any help is appreciated!
Thanks,
Katja
No idea?
Anybody?
Thanx
Hello,
Sorry for the late reply.
I saw that in your attached application you are using XamNumericEditor's Text property to bind to ViewModel's TestValue. If you start using the XamNumeric's Value property, then the red border should not appear if you delete the current value.
You can also add a value constraint for XamNumericEditor like this:
<igEditors:XamNumericEditor.ValueConstraint> <igEditors:ValueConstraint Nullable="True" > </igEditors:ValueConstraint> </igEditors:XamNumericEditor.ValueConstraint>
Hope this helps you.
Regards,
Anastas
WOW!
That was easy enough...
Thanks alot!
Regards Katja
No problem, you are welcome :)