While migrating our product to use the latest version of MaskedTextBox, I have discovered a very inconvenient issue. Binding the Text property of the masked textbox to a property in my viewmodel, I've ended up with a database containing the prompt characters in some situations. If I set PromptCharacter="", I end up with funny looking squares instead.
Using the Masked TextBox samle in the Sample Browser, I can sometimes reproduce the issue if I create a property in the codebehind to which I bind, and display the value in a TextBlock below the checkbox in the samle.
When setting PromptVisibility to never, I sometimes get the problem where I have to manually input the - to be able to continue typing. Where in PromptVisibility="FocusedOnly", I don't have to input the dash, but just keep typing numbers, but with Never, I do.
Bjørnar Sundsbø