The Control Local Values Bug Solution and new WPF 4.0 related APIs

Intro Previously I did a post on the “Control Local Values bug” and how a subtle bug can be introduced when setting dependency properties of controls to local values.  In WPF 4.0 (dev10), a mechanism was added to the property engine to solve this problem.  Here are the new APIs in dev10: public class DependencyObject…

8

The Control Local Values Bug!

Intro WPF dependency properties are properties that are registered through the WPF property system.  By registering with the property system, the property will be provided a set of services such as data binding, styling, change notifications, animation, expressions, invalidation, and coercion.  What I will be discussing here is dynamic value resolution and the issue of…

4