Read original post at The Telerik Blogs
Every developer has found him or herself in the situation where a control is missing the one feature that would be perfect in a specific situation or they would love to have a slightly different behavior of an existing feature. This is where attached properties come in handy.
Attached properties could be used to extend the functionality of a control with very little implementation on our side. In this blog post I will demonstrate how to implement some basic attached properties in specific scenarios to extend the functionality of a WPF / Silverlight control.
The next examples will demonstrate how to extend the functionality of RadListBox and RadDocking controls but you could use this approach in every WPF or Silverlight control.