Code And Run

Blog of a running developer

Silverlight: detecting design mode

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

bool _inInDesignMode = DesignerProperties.IsInDesignTool;