Skip to main content
  • 212 Accesses

Abstract

What this chapter covers:

  • What are DependencyProperties

  • How DependencyProperties are set

  • How DependencyProperties can solve a real-world problem

  • Creating a custom UserControl with custom DependencyProperties

WPF provides a set of services that are used to extend the functionality of the common language runtime (CLR) property known as the WPF property system. DependencyProperties are properties that are backed by the WPF property system. That, of course, is Microsoft’s official definition of DependencyProperties, but it does not tell you the developer much about them or, more importantly, how to use them. Fortunately for you, I have worked with them for quite some time, and I can offer you a much more “human” definition, and also give you hands-on experience in using them and even creating your own custom DependencyProperties. With that, let’s get started.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Victor Gaudioso

About this chapter

Cite this chapter

(2008). DependencyProperties. In: Foundation Expression Blend 2. Apress. https://doi.org/10.1007/978-1-4302-0612-5_11

Download citation

Publish with us

Policies and ethics