O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dependency Properties

Essentially, a dependency property is a property that can be set directly (for example, by your code) or by one of Silverlight's services (such as data binding, styles, or animation). The key feature of this system is the way that these different property providers are prioritized. For example, an animation will take precedence over all other services while it's running. These overlapping factors make for a very flexible system. They also give dependency properties their name—in essence, a dependency property depends on multiple property providers, each with its own level of precedence.

Most of the properties that are exposed by Silverlight elements are dependency properties. For example, the Text property of the TextBlock, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required