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;
Alex
Alex
@alex@www.codeandrun.it

πŸƒπŸ»β€β™‚οΈ Marathoner | πŸ’» CTO @intre_scrumteam | πŸ“± tech addicted

678 posts
0 followers

Comments

Leave a Reply

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