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
1405
Max length for XamComboEditor
posted

Is it possible to set the max number of characters in a XamComboEditor? Or maybe in a simple ComboBox?

Thanks.

Nico

Parents
  • 2070
    posted

    Hi Nico,

     

    Both the XamComboEditor and ComboBox don't have any maxlength property. What you can do though is specify MaxLength on the XamComboEditor's ValueConstraint object. This will show an error message to the user once he tries to leave the editor if the value inside the editor doesn't meet any criteria specified on the ValueConstraint, including MaxLength.

     

    Hope this helps,

    Sandip 

Reply Children