Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Problems with xamNumericEditor
posted

Hi,

i´m testing the xamNumericEditor. I´m using MVVM. I will bind the value-property of xamNumericEdior to a property with value int32=4711 in my viewmodel. When the app is running and i delete the value in the view, in my viewmodel, the last value int32=4 is stored. Is that a bug?

 

best regards from Germany

Christian

Parents
No Data
Reply
  • 69686
    Verified Answer
    posted

    If you delete the value of the XamNumericEditor, it will return null and will try to save that in the underlying object (if you have set the binding mode to TwoWay). Is your property int? or int ? In the binding, have you set the UpdateSourceTrigger property ? I tried this and when I delete the value of the editor, null is the result. If that is not the case, can you please provide a sample that reproduces the issue?

Children