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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.