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
1935
Displaying a non-numeric value in the xamNumericEditor
posted

Hello,

 

I'm using the xamNumericEditor to display various numbers in a xamDataGrid.

For some of these fields I'm changing the properties IsEnabled and IsReadOnly according to user permissions.

Would it be possible to display a non-numeric value when the editor is disabled, to indicate, that the field isn't writeable?

For example I would like to display "-" in the editor. Maybe using a ValueConverter?

  • 138253
    Offline posted

    Hello Christian,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

  • 138253
    Offline posted

    Hello Christian,

     

    Thank you for your post. I have been looking into and I can suggest you use the XamNumericEditor’s ValueToTextConverter. Here it is explained how to do so:

     

    http://blogs.infragistics.com/forums/t/34766.aspx

     

    Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.