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;

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *