Adds code to register an attached DependencyProperty. This snippet must be added to a class that derives from DependencyObject. ...