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
405
Numeric Editor
posted

Hi there,

 

I'm not familiar with Your numeric editors and to be honest, the help confuses me as I can't find any full examples.

 

All I want to do is to check in a numeric value of Type Int32 is in a specific range. But it wont let me change the value type nor the input mask.

 

Please can You provide a sample for this.

Parents
No Data
Reply
  • 30945
    Offline posted

    Hello,

     

    I have been reading through your post and I can suggest two approaches for restricting the input of a XamNumericEditor. The first one is to set the mask property of the editor to “{number:0-10}” for example, which restricts the input to be between 0 and 10. The second approach is to use ValueConstraint and the ValueType properties in order limit the input.

     

    I am also attaching a sample application that shows how both of the above mentioned approaches can be implemented.

     

    If you need any further assistance on the matter please do not hesitate to ask.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    NumericEditorMask_.zip
Children