监听和应用程序范围内的资源 [英] Snoop and application wide resources

查看:125
本文介绍了监听和应用程序范围内的资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SNOOP http://snoopwpf.codeplex.com/ [ ^ ]查看由我的WPF应用程序构建的可视树.由于我确实将全局应用程序资源字典添加到了我的一个应用程序,因此Snoop不再显示其应用程序入口点.它仅显示给我定义的资源,而不显示应用程序的入口点.

I''m using SNOOP http://snoopwpf.codeplex.com/[^] to view the visual tree built by my WPF application. Since I did add global application resource dictionaries to one of my applications Snoop does not show the applications entry point for it anymore. It shows me only the resources defined, but not the application''s entry point. Does anyone know a work around or another tool with the same features implemented in SNOOP?

推荐答案

对我而言,该主题看起来对CodeProject来说太专门了.

如果您无法使用SNOOP文档找到帮助( http://snoopwpf.codeplex.com/documentation [ http://snoopwpf.codeplex.com/discussions [
The topic looks a bit too specialized for CodeProject to me.

If you cannot find help using SNOOP documentation (http://snoopwpf.codeplex.com/documentation[^]), I suggest you ask your question to the SNOOP community using its discussion forum:
http://snoopwpf.codeplex.com/discussions[^].

—SA


是的,经过一番阅读后,我找到了解决问题的方法.对于存在相同问题的任何人,只要在应用程序启动后打开SNOOP,然后按CTRL + Shift并使用鼠标指针标记窗口即可.这将告诉SNOOP更新SNOOP中的可视树,您将能够看到预期的应用程序...

不管怎样,要阅读这篇文章并再次指出codeplex链接!
Yes sure, and after reading a bit I found the solution for my problem. For anyone with the same issue, just open up SNOOP once your application was started and press CTRL+Shift and mark your window with the mouse pointer. This will tell SNOOP to update the visual tree in SNOOP and you are able to see the app like expected...

Thx anyhow for reading the post and pointing out the codeplex link again!


这篇关于监听和应用程序范围内的资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆