The following code throws an exception. Can you spot the bug? public class MyControl : Control { public static DependencyProperty MyPropertyProperty = DependencyProperty.Register( "MyProperty", typeof (double), typeof (MyControl), new PropertyMetadata...