您当前的位置: 首页 > 

君子居易

暂无认证

  • 0浏览

    0关注

    210博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

WPF System.InvalidOperationException: 此 Visual 未连接到 PresentationSource解决方案

君子居易 发布时间:2019-02-20 15:17:10 ,浏览量:0

 

ERROR  Class:EAGLE.Project.App property:[(null)] Info:Error System.InvalidOperationException: 此 Visual 未连接到 PresentationSource。    在 System.Windows.Media.Visual.PointToScreen(Point point)    在 Microsoft.XamlDiagnostics.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.UpdatePlacement()    在 Microsoft.XamlDiagnostics.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.b__77_0(Object obj)    在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

产生以上问题具体原因暂时没找到!

 

 

 

解决方案

工具->选项->调试->常规->        

取消选中:为XAML启用UI调试工具 

如下图

 

参考地址

关注
打赏
1660814979
查看更多评论
立即登录/注册

微信扫码登录

0.0501s