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
340
Block characters in XamTextEditors
posted

Hi,

Can i block unwanted characters in my XamTextEditor thru xaml ??

 

Sandeep

Parents
  • 69686
    posted

    Hello Sandeep,

    Yes, you can use the ValueConstraint.Enumeration property, which requires an IEnumerable collection of values that can be validated by the ValueConstraint object. In other words the value being validated by this ValueConstraint object will not be considered valid if the value is not part of this enumeration.

    Hope this helps,
    Alex. 

Reply Children