C wpf binding not updating


c wpf binding not updating-89

I often get questions about WPF binding behaving differently than people expect in their usage case so here is post to help out with that.

When you bind to properties in WPF with for example: Value=”” the binding update behavior, i.e the trigger for value update, is controlled by the defaults set on the Dependency Property.

I am presuming this is code behind rather than an MVVM type solution.

Code is a little difficult to read and you make no reference to your XAML.

We can do that by the "Display Member Binding" attribute and "Binding" markup extension.