title: WPF user control throws design-time exception
body: <p>I have a userControl which starts a timer. It looks like the XAML designer is trying to call that code, which links to some back-end database stuff. I keep getting an unhanded exception error in the design screen. </p>
  
  <p>Any ideas how I can stop the designer trying to run the code?</p>