31.1. Understanding the Role of Dependency Properties

Like any .NET API, WPF makes use of each member of the .NET type system (classes, structures, interfaces, delegates, enumerations) and each type member (properties, methods, events, constant data, read-only fields, etc.) within its implementation. However, WPF also supports a unique programming concept termed a dependency property.

NOTE

Dependency properties are also part of the Windows Workflow Foundation (WF) API. While a WF dependency property is constructed in a similar manner as a WPF dependency property, WF uses a different technology stack to implement them.

Like a "normal" .NET property (often termed a CLR property in the WPF literature), dependency properties can be set declaratively ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.