Adds code to register a read-write DependencyProperty. This snippet must be added to a class that derives from DependencyObject. ...