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
460
Clear Value in XamNumericEditor
posted

Hi,

I have a lot of XamNumericEditor boxes on my wpf page that the user adds number then these number get added to a database.  Is it possible to have all the editors clear there value when the user tabs off the last editor.  For example is it possible to use a foreach statement to change all the editor to show a null value.

 

Thanks,

Bryan

Parents
  • 5600
    Offline posted

    Hello Bryan,

    It's possible. You can add the logic that sets all editors value to null in 

    last editor's EditModeEnded event or in lostFocus event(because when you press the tab the focus of this editor is lost).

    Regards,

    Anastas

Reply Children