I have an issue when I bind to the maskedtextbox using the numeric masktype and setting the mask to c. The property I'm binding to is a nullable decimal. I set an empty content so when the value is null, a text is shown. All works well until I clear my object (or rather I set it a to new instance of the same object). The empty content shows again so all looks well, but when I try to enter any value in the same boxes, nothing happens. I was able to reproduce in the following small project.
Steps to reproduce:
1. Enter a value in any text box(es)
2. Click the 'clear boxes' button
3. Enter a value in the same text box(es)
4. Enter a value in a different text box and all works just fine (until you hit the 'clear boxes' button again)
Here's my viewmodel:
This is the object I'm binding to:
Here's my view:
And the code behind: