是否有用于WPF的类似Spy ++的实用程序? [英] Is there a Spy++ like utility for WPF?
问题描述
作为Win32背景下的核心" WinForms程序员,我一直使用
As a "hardcore" WinForms programmer from a Win32 background I have always used Spy++ to understand what my applications are doing at the UI level including:
- 查看控件之间相互发送的事件.
- 在运行时查看控制树
- 找到正在绘制部分显示内容的控件
- Seeing what events the controls are sending to each other.
- Seeing the control tree at run time
- Finding the control that is drawing part of the display
然后,我经常在源代码中搜索控件名称,当您不得不在不太熟悉的大型应用程序上更改UI时,这将非常有用.
I then often search for the control name in the source code, very useful when you have to change the UI on a large application you don’t know well.
那我该如何使用 WPF 应用程序做同样的事情?
So how do I do the same with a WPF application?
(如果需要,您可以假设我可以访问WPF应用程序的源代码,但是我宁愿使用该实用程序,也不需要应用程序源代码.)
感谢您的回答,我刚刚在StackOverflow中搜索了" Snoop ",并发现了一些问题/answers with WPF tools list.
Thanks for the answers, I have just searched for "Snoop" in StackOverflow and found a few questions/answers with lists of WPF tools.
- What tools do you use for WPF development
- Tools to develop WPF or Silverlight applications
- How to speed up WPF programs? - has a list of related tools
推荐答案
是的,您可以使用监听.就像Spy ++ for WPF一样.
Yes, you can use Snoop. It is exactly like Spy++ for WPF.
这篇关于是否有用于WPF的类似Spy ++的实用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!