Wpf textblock binding not updating
In the ancient and cruel world of WPF you might want to populate a Text Block with a string which will contain data from different sources.
(BTW if you remember this song, then you are Awesome AND Old. You can use this technique to bind two or more values to the same Text Block.
This interface has a single event that notifies the bindings that a particular property has changed and any bindings using it should re-evaluate their values.
We can implement it like this: Now the binding properly updates to show “Mark”.
The Binding engine is is what makes the MVVM pattern possible.
Bindings are declared in the view, and link properties in the view back to properties in the view model.
If you were to run this code, the Text Block’s Text would still be empty.