C H A P T E R  4

Dependency Properties and Routed Events

At this point, you're probably itching to dive into a realistic, practical example of Silverlight coding. But before you can get started, you need to understand a few more fundamentals. In this chapter, you'll get a whirlwind tour of two key Silverlight concepts: dependency properties and routed events.

Both of these concepts first appeared in Silverlight's big brother technology, WPF. They came as quite a surprise to most developers—after all, few expected a user interface technology to retool core parts of .NET's object abstraction. However, WPF's changes weren't designed to improve .NET but to support key WPF features. The new property model allowed WPF elements to plug into services ...

Get Pro Silverlight 5 in C# now with the O’Reilly learning platform.

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