Just a quick tip useful when you have to do something special for Silverlight designer to work correctly.

1
bool _inInDesignMode = DesignerProperties.IsInDesignTool;