In this short screencast I show how you can use IronPython and Snoop together to explore the Windows Presentation Foundation (WPF).
IronPython is a wonderful dynamic language with full access to the .NET Framework. Snoop is a great WPF debugging tool. Together they can help you climb the steep WPF learning curve.
A flash version of the screencast is available here.
UPDATE: Rob Relyea points out a way for me to simply my code. Instead of doing:
b.Content = TextBlock()
b.Content.Text = "Hi"
I could do this instead:
b.Content = "Hi"
WPF creates the TextBlock for you automatically when you set the Content property to a string. That does work from IronPython. Thanks Rob.
UPDATE: In the comments to Rob's post above he points out that there is a way to refresh the Snoop visual tree (the treeview on the left side of the window). All you have to do is press F5. Very cool.
If you don't have IronPython installed see: HOWTO Screencast: Install IronPython
If you need to know how to build Snoop without Visual Studio see: HOWTO Screencast: Build Snoop without Visual Studio