title: Overriding UserControl Properties in WPF
body: <p>I'm brand new to <strong>WPF</strong>, so I'm a bit at a loss for how to do this. I created a very simple visual <code>UserControl</code> today that consists of a grid, displaying a circle with two dotted lines crossing through it. The intent is to display a circle of a given radius size. I'd <em>like</em> to be able to hide Height and Width, and use a custom property called <code>RadiusSize</code> to set the size of the control.</p>
  
  <p>The Code Behind defines the <code>RadiusSize</code> dependency property, as such:</p>
  
  <pre><code>public static readonly DependencyProperty RadiusSizeProperty =
      DependencyProperty.Register("RadiusSize", typeof(double), typeof(Radius));
  
  public double RadiusSize
  {
      get { return (double)GetValue(RadiusSizeProperty); }
      set 
      { 
          SetValue(RadiusSizeProperty, value);
          Height = value * 2;
          Width = value * 2;
          RaisePropertyChanged("RadiusSize");
      }
  }
  </code></pre>
  
  <p>There's no visible change to the Height or Width property when setting up the XAML for a given <code>Radius</code> control and passing it a <code>RadiusSize</code> unfortunately. If removed, they just default to <code>Auto</code>. Is what I want to do possible?</p>