We'll explore a few other features of the binding framework via a more complex example, this time we have a model object, Again, the binding framework updates the UI.
The binding framework not only detects changes in the source property, it is able to detect changes at any point in the chain of property relationships from the I'm not going to give examples of all the various bindings that are possible, MSDN has a good reference for these.
Binding inside your user control isn’t exactly obvious either.
The reason is, you get an error when you attempt to set the data context of the user control.
You will, however, discover that all data binding has stopped working. Rather than explain why this is happening, let me simply share the solution.I'm also very active on Git Hub, contributing to a number of different projects. This is more precise and understandable to me to say that a ‘Delay’ property has been added to the Binding markup extension !And, the best part, it works and gets the job done.Your user control can be as simple as this: Now your user control can bind; and it can bind one or two way!