Skip to Content
Mastering Windows Presentation Foundation
book

Mastering Windows Presentation Foundation

by Sheridan Yuen
February 2017
Intermediate to advanced
568 pages
14h 19m
English
Packt Publishing
Content preview from Mastering Windows Presentation Foundation

Chapter 4. Becoming Proficient with Data Binding

In this chapter, we'll investigate the data binding syntax that is used to connect our data sources to our UI controls. We'll examine how to declare Dependency Properties, along with all of the various options that we have when doing that. We'll find out about the scope of declared bindings and unravel the finer details of data templates. Let's start at the beginning.

It is the data binding in the WPF that enables it to work so well with the MVVM pattern. It provides the connection for two-way communication between the View and the View Models components. Yet this abstraction can often lead to confusion and make tracking down problems more difficult than when using traditional methods of UI to business ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Windows Presentation Foundation - Second Edition

Mastering Windows Presentation Foundation - Second Edition

Sheridan Yuen

Publisher Resources

ISBN: 9781785883002Supplemental Content