
Hello,
First off thanks for providing a edit mask control suite. This is something that has been lacking for a long time. I am having an issue however with the MakedTextBox control. I using the following code to force correct entry of Canadian postal codes. For some reason however it allows the input of lower case characters. It seems to not be honoring the char classes I am using in my regex. Am I missing something?
<Editors:MaskedTextBox Name="txtZipCode"
Grid.Column="3"
MaskType="Regex"
Mask="[A-Z]\d[A-Z] \d[A-Z]\d"
Grid.Row="0"
HorizontalAlignment="Stretch"
Text="{Binding Path=CurrentAddress.ZipCode, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" />
Thanks,
Brette
First off thanks for providing a edit mask control suite. This is something that has been lacking for a long time. I am having an issue however with the MakedTextBox control. I using the following code to force correct entry of Canadian postal codes. For some reason however it allows the input of lower case characters. It seems to not be honoring the char classes I am using in my regex. Am I missing something?
<Editors:MaskedTextBox Name="txtZipCode"
Grid.Column="3"
MaskType="Regex"
Mask="[A-Z]\d[A-Z] \d[A-Z]\d"
Grid.Row="0"
HorizontalAlignment="Stretch"
Text="{Binding Path=CurrentAddress.ZipCode, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" />
Thanks,
Brette