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.
在 Wpf 中,你会做类似的事情
System.ComponentModel.DesignerProperties.GetIsInDesignMode()
但我不知道如何检查我是否在 Win Rt 的设计师中。
Windows.ApplicationModel.DesignMode.DesignModeEnabled