1

I'm using Xceed Extended Toolkit Masked TextBox in WPF 4.5 with C#.

I have a simple MaskedTextBox:

<xctk:MaskedTextBox Text="{Binding CNPJ}" Mask="00.000.000/0000-00"/>

The problem is, when application is running the dots in the mask are replaced by commas:

enter image description here

How can I make the Mask use dots instead of commas?

RHaguiuda
  • 3,207
  • 9
  • 37
  • 55
  • 1
    You cant try set the culture info. Check bang's answer here http://stackoverflow.com/questions/9160059/set-up-dot-instead-of-comma-in-numeric-values – The Hafster Aug 13 '14 at 11:37

1 Answers1

4

input \ before ".", example: Mask="00\.000\.000/0000-00"

Erli
  • 448
  • 5
  • 10