MVVM Light IsInDesignMode property not working
问题 I'm having an issue where the property IsInDesignMode is not returning the expected value of true when running the solution in VS or Blend. My environment consists of Win Server 2008 R2, VS2010 Pro, Blend 4 and MVVM Light V3. I run my Silverlight 4 solution in Debug mode from VS and Blend, and IsInDesignMode is always false. Am I missing a setting? Is there a reason why it may not be picking up the environment? Thanks in advance. -Greg 回答1: It should work properly. The only place where I know