What's the difference between below mask? The first mask can input "<" and ">", even the mask doesn't include them. The second mask works correctly, i just change the order of the first mask.
// Can input "<" and ">"
<igEditors:XamMaskedInput Mask="{}{char:44:0-9a-zA-Z'"/()!?:-,.@ }"/>
//Can't input "<" and ">" <igEditors:XamMaskedInput Grid.Row="1" Mask="{}{char:44:0-9a-zA-Z'"?:@-,./()! }"/>
Hello Brandon,
Thank you for choosing Infragistics.
I have been looking into your issue and I believe I have come up with solution that will help you achieve the functionality you want. I have attached a sample application for you to test. In particular situations the characters' permutation affects the outcome like restricting a character. I have created a XamMaskedInput, identical to the one you have provided that contains the ">" and "<" characters. Since the "-" character is a special character, when it has been added to the Mask property of the XamMaskedInput, it will automatically enable characters such as ". > < 0 1 2 ...". I have restricted the "-" character in the sample by typing the "\" character in front of it. This way the "-" character will be available, but will not include ">" and "<".
If you require any further assistance on this matter, please do not hesitate to ask.
I am just checking your progress on the issue that you are having.
If you require any further assistance, please do not hesitate to ask.
Sorry for delay reply.
Your samples works fine. But i still want to know why the second mask can't input "<" and ">",the second mask contains char "-" too.
I have been looking further into your issue and I have come up with a solution for you to test and see if the desired effect is achieved. The "-" character specifies a range of characters by default. If you would like to use it as a single character, you will have to escape it by typing the "\" character in front of it.
The reason you cannot type in the ">" and "<" characters is because they are not contained within the range :-, (from ":" to "," or from "," to ":").
<igEditors:XamMaskedInput Grid.Row="1" Mask="{}{char:44:0-9a-zA-Z'"?:@-,./()! }"/>
The reason you can type in the ">" and "<" characters is because they are contained within the range @-, (from "@" to "," or from "," to "@").
Thank you for your feedback. I am glad to know that I was able help you with your issue. I believe this thread can help other people looking for a similar solution.
Hi Tacho,
Thanks a lot, that's what i'm looking for.