title: How to set default value of DependencyProperty of a type derived from DependencyObject
body: <p>I'm creating a custom WPF control that's <strong>NOT</strong> a UserControl.  This custom control has two properties (UnselectedAppearance and SelectedAppearance).  Both of those properties are of the same type (Appearance) which derives from DependencyObject.  The Appearance class has several DependencyProperties itself.  I'd like to know the proper way to set a default value for each of the Appearance properties.  I've tried code like the following, but an exception gets thrown when I try to use my custom control in the designer.</p>
  
  <pre><code>public static readonly DependencyProperty UnselectedAppearanceProperty = DependencyProperty.Register("UnselectedAppearance", typeof(Appearance), typeof(FNDie), new PropertyMetadata(new Appearance()));
  </code></pre>
  
  <p>Is there some way I can do this?</p>