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
XamNumericEditor
posted

Hi,

i´m using the XamNumericEditor. I´m using DataBinding to a property of type int32. I would like to build something like this:

If the value int32=0,  the XamNumericEditor should show an empty editor. How can i do that with XamNumericEdior?

 

With best regards from Germany

Christian

  • 69686
    posted

    Hello Christian,

    For this, you can use ValueToDisplayTextConverter property. You have to create a class that implements the IValueConverter interface and return an empty string when the value is 0. Let me know if you need further assistance with this matter.