Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 8. Using Data Binding > Applying Data Binding

8.2. Applying Data Binding

The following section demonstrates common implementations of data binding. Because the syntax allows a few different options, you can choose your preferred approach when programming data binding into your own applications.

8.2.1. One-Way Binding

In the most basic usage of data binding, a class property or a variable is transferred to another class property or variable. Example 8-1 demonstrates inline data binding, and the text property of nameTI is bound to the text property of another TextInput control.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial