【发布时间】:2014-07-13 18:52:59
【问题描述】:
在 Winforms 中你可以说(some slightly unexpected behaviour)
if (DesignMode)
{
// Do something that only happens on Design mode
}
在 WPF 中,你有
if (DesignerProperties.GetIsInDesignMode(this))
{
// Do something that only happens on Design mode
}
但我正在努力为精简的 PCL 世界寻找一个类似的选项,即通用应用程序?
【问题讨论】:
标签: c# win-universal-app