Debug XAML by using the WPF Visualizer
May include but is not limited to: accessing the Visualizer, drilling down the visual tree; viewing and changing properties
All editions of Visual Studio 2010 (with the exception of Visual Web Developer 2010) come with a cool little feature called the WPF Visualizer. This tool lets you search and drill down the visual tree produced by WPF.
The only thing isn’t very straightforward with this tool is how to access it. You can reach it from a couple of locations (the Watch, the Autos or the Locals window) or just by setting a breakpoint. To get the tool, you need to click on the little magnifier icon which appears when you browse WPF elements. Then you get a nice window, with a treeview on the left and a grid on the right. I think you’ll be able to handle the stuff. You can even search for properties/elements, and filter properties shown in the grid, too.
I don’t think there’s pretty much else to say on the topic – practice make perfect!