O'Reilly logo

Illustrated WPF by Daniel Solis

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

Chapter 7. Dependency Properties

Properties and a New Paradigm

You might have noticed by now that WPF uses properties extensively. The WPF classes have been specifically designed to use properties rather than methods, when possible, because properties are declarative, making them ideal for XAML's declarative syntax. But beyond just the preference for properties, WPF has produced a whole new way of using properties and a set of services to support that method.

Before looking at WPF's new paradigm for properties, however, let's review a bit about standard .NET properties in general. The following are some important things to remember about properties:

  • A property is usually associated with a private field in the class and represents that field to other ...

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