I have read a lot of questions that seemed very similar to this, but none of the answers worked for me.
The weird thing is that when I don't validate based on numbers, but just change all text typed in to be upper case, it works just fine. I first tried this in 4.5 and your code worked as written, but when I converted the project to 4.0, I could reproduce the issue.
I'm having trouble with the binding to a visibility of a grid.
I've had projects where I've done this before and have tried to replicate the same coding used previously, and I've searched around and added in the bool to visibility converter based off some other articles but still nothing.
Yesterday I was working on a small prototype, which I will be blogging about shortly, and ran across the common problem of my bindings not updating.
A very common problem, and one that’s usually a very simple fix once you’ve tracked it down.
So although I was firing an event that looked like INotify Property Changed.
Property Changed, I was actually just firing my own event with the same name 🙂 So there you have it, I’m an idiot 🙂 The moral of the story is, when your bindings aren’t working check the obvious: Hello there!
Here is how I have the property bound: Can anyone tell me what I'm doing wrong? I have some logic in the Property setter that prevents the latest value from being applied if it does not adhere to the business rules (e.g., it is not a number or the number is too large). I have some very simple code that lets the user type in a number between 1 and 99,999 (inclusive).I've implemented INotify Propert Changed and this event gets fired when I chang my variables value.The UI does not update and the label does not change.