Skip to main content

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;