I have the following XAML:
<igEditors:XamMaskedEditor Text="{Binding Config.DataProcedure, Mode=TwoWay}" Mask="{}{char:50:0-9a-zA-Z_-}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="200" Margin="5" />
I want to allow space characters with the mask shown in the code, however, if I add a space in the mask, ex:
Mask="{}{char:50:0-9a-zA-Z_- }"
then the XamMaskedEditor allows the user to type in other characters that are not in the mask like !@#$%^&*()
How can I include the space character as valid in the above mask?
Hello Gary,
Thank you for posting to our forum.
The behavior you are getting is because of (-) before empty space.When can replace the (-) it would work as expected.
Something like this:
Mask="{}{char:50:0-9a-zA-Z_\- }"
Please let me know if it helps.