By reading it you’ll discover what is the goal of this property, how to use it and some scenario where it is really useful and smart to use it.A binding is done between two objects : the source (where the data comes from) and the target (where the data go to).
Since WPF 4.5, the Binding has a new property named ‘Delay’ which defines a timespan after which the source is updated. As this is an added property on the Binding, you only have to define it on each Binding you create.
Each update of the target value will be done only after this delay and only if none has been done since. The delay is defined in milliseconds and the default value of ‘0’ reproduce the classic behavior of a Binding.
If the binding is setup correctly and the view model implements the interface to provide notifications when the data changes, the changes are automatically reflected in the elements in the view that are bound to it.
Correspondingly, an underlying data value in the view model is automatically updated when the user modifies the bound value in the view.
Update Controls is an open source library that replaces event-based data binding with automatic discovery and updating. WPF data binding requires that a bindable class implement the INotify Property Changed interface.
This interface is fairly easy to implement as it requires only a single event: Property Changed.
In a MVVM WPF application, the view model acts as the window’s Data Context: This means that that all controls inside the window will inherit its Data Context unless some parent element of a control overrides this by setting its own Data Context property.
Besides inheriting and setting the Data Context property on an element directly you can also specify a binding source using the Element Name property, used when you want to bind to some other element, or the Relative Source property.
By default any binding for a Text Box is not updated until the field loses focus.
This didn’t suit my needs for an application I’m currently working on because I wanted the Binding source to be updated whenever something is entered into the Text Box.
Databinding is a fundamental part of the WPF, Silverlight and the Silverlight for Windows Phone 7 frameworks.