Hi,
I have most probably missed something really simple, but I have been going around in circles, so I need to ask. I am using MVVMLightToolkit and Infragistics 12.1. Attached is my sample project. The 2 issues I have are:
1. When I add the data binding 'Value="{Binding Path=DeadWeight}"', i get the red border around the input box. How do I prevent this from displaying.
2. The third line in the main window grid is a text box bound to the same property in the model. When the text box looses focus, the 'set' event fires in hte view model. How to I get the XamNumericInput to update on loose focus?
Thanks for your help.
Ron.
Hello Ron,
I am just checking if you got this worked out, or you still require any assistance, or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Hello,
About the first question, I guess that you have implemented IDataErrorInfo in your code, and the red border comes because of it.
About the second one, you have to set the UpdateSourceTrigger of the binding to LostFocus.
Regards,
Anastas