CHAPTER 4

image

Binding

WHAT’S NEW IN WINDOWS 8.1

There are several new features for data binding in Windows 8.1. The FrameworkElement.DataContextChanged event notifies you when the data context for a control is changed.

Two new binding properties, Binding.FallbackValue and Binding.TargetNullValue, provide mechanisms to handle data-binding failures and null values.

The options for the UpdateSourceTrigger property now include Explicit, designed for programmatic control in two-way binding scenarios.

The essential glue in any meaningful Windows 8.1 application is showing data in your user UI. This is referred to as binding. At its simplest, binding ...

Get Pro Windows 8.1 Development with XAML and C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.