您即将离开腾讯云开发者社区,请注意您的账号财产安全
https://docs.microsoft.com/zh-cn/dotnet/api/system.componentmodel.designerproperties.getisindesignmode?redirectedfrom=MSDN&view=netframework-4.7.2#System_ComponentModel_DesignerProperties_GetIsInDesignMode_System_Windows_DependencyObject_