tags:

views:

49

answers:

3

Is there any tool to explore properties of GUI controls (such as "Text" or "Location") from a running .NET application?

+1  A: 

Hawkeye can do this. With it, you can inspect any .Net GUI and view the properties of its controls.

Additionally, Microsoft have a tool called UISpy (that is part of the Windows SDK) that does a similar job. This is basically a .Net version of Spy++.

adrianbanks
A: 

My favourite is Snoop which includes a great exploded 3D view of the layout, great for seeing how things nest.

Andy Dent
Snoop only works with WPF. It does not work with Windows Forms.
adrianbanks
A: 

I've used AutoIt for this kind of thing.

It comes with a tool which allows you to inspect all the elements of a GUI. Seemed to work pretty well for me. AutoIt scripts can be pretty useful too, allowing you to access these GUI element values programmatically.

Tim