Bindingsource not updating

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.

Get Focused Element method to get the current focused element.

To fix this behavior we need to force an update on the binding source when the click event get’s invoked, and here’s some code on how to achieve this: We start by using Focus Manager.With WPF this is done easily by setting the Update Source Trigger property to Property Changed in the Binding definition, unfortunately this is not available for Silverlight.A workaround that I found for this was to add a Key Up event to the required Text Box and update the binding in code behind.Generally, almost every UI control could be bound to a data object (all Native Script controls are created with data binding in mind).After your code has met the following requirements, you can use data-binding out of the box. First, the source object is created with a text Source property.

Bindingsource not updating