Using data binding, developers can eliminate a lot of the tedious boilerplate code that is typically required to manage the state of user interface elements explicitly. For example, the following markup binds the
text property of a text field to the
name property of the document’s owner:
Any time the value of the owner’s
name property changes, the new value will be automatically reflected in the text field’s
text property, and vice versa.
For more information, see the following examples or the project README: