在WPF中,你可以这样做:
System.ComponentModel.DesignerProperties.GetIsInDesignMode()
但是我不知道如何检查自己是否在Win Rt的设计模式下。
System.ComponentModel.DesignerProperties.GetIsInDesignMode()
但是我不知道如何检查自己是否在Win Rt的设计模式下。