Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Blend for Visual Studion 2012 中查看时,我有一些 javascript 会导致问题。我想对设计模式进行简单检查,以便在 Blend Design Surface 中查看时可以跳过代码。
我在推特上发布了这个问题,很快就得到了同行的回答。
var isInDesignMode = Windows.ApplicationModel.DesignMode.designModeEnabled;