Wpf textbox text binding not updating
To use the value converter, reference the namespace of the assembly that contains the converter and add an instance of it to the resources of your window.
Now add the converter to your problematic data binding.
Unfortunately the changed Combo Boxes becomes unsynchronized with the view model if the view model ignores a change. You can change either Text Box as many times as you want.
Suppose that you have a data source where a property’s value changes very rapidly, perhaps several dozen times per second.
The Text Boxes were bound to the View Model’s Text Box Text property and the Combo Boxes to the Combo Box Selected Item property. By assigned a NOP (no operation) lambda, I don’t have to check whether any listeners are registered for the event.
I can simply fire the event and worse case scenario, I execute an empty function body rather than throwing a Null Reference Exception. With the INotify Propety Changed in place, changing one Text Box will cause its twin to display the same value and same for the two Combo Boxes.
Seriously :-) And now the tooltip looks ok: My original problem was binding a Tool Tip.
Content to validation errors and I really needed a way to do that.