Silverlight: detecting design mode

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

1
bool _inInDesignMode = DesignerProperties.IsInDesignTool;

 

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.