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:
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.
So how do I do the same with a WPF application?
(You may assume I have access to the source code of the WPF application if needed, however I rather the utility worked without the need for the applications source code.)
Thanks for the answers, I have just searched for “Snoop” in StackOverflow and found a few questions/answers with lists of WPF tools.
Universal Windows Platform. Both Windows Forms and WPF are old, and Microsoft is pointing developers towards its Universal Windows Platform (UWP) instead. UWP is an evolution of the new application platform introduced in Windows 8 in 2012.
“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.
Snoop is an open source WPF spying utility originally created by Pete Blois and is currently maintained by Bastian Schmidt. It allows you to spy/browse the visual, logical and automation tree of any running WPF application (without the need for a debugger).
XAML Spy is described as 'is the visual runtime inspector for Silverlight, Windows Phone, Windows Store and WPF apps. It provides unprecedented access to all aspects of any running XAML app' and is an app in the development category.
Yes, you can use Snoop. It is exactly like Spy++ for WPF.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With