Skip to main content
Code And Run

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;