Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

17. Dependency Properties > Dependency Properties

Dependency Properties

Dependency properties “extend the functionality of CLR properties”. Fine. What does that mean, exactly? Do they do things that you can’t do with a CLR property? No, not really. It’s just that dependency properties encapsulate a bunch of useful functionality that can be tedious to implement using CLR properties, and because they’re part of the WPF infrastructure, other components of WPF know how to work with them. So, for example, you can bind a dependency property value to another object (when a value is bound, it means that it derives its value from another value. We’ll see how to do that in Chapter 22) or animate its value using a WPF Storyboard (we’ll take a quick look at animation in Chapter 20).

image


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint