Using the WPF Visualizer in Visual Studio 2010

Visual Studio 2010 now has a cool little feature I want to show you. When you’re debugging WPF applications, you sometimes need to see the controls and their hierarchy. Now with VS2010 this is easy. Simply use the magnifying class (the visualizer feature) and select the WPF Tree Visualizer:

image 

This will show you all the controls with their properties like this:

image 

In the left pane you get the tree view of controls with a rendering of the selected control, at the right side you get all properties of the control.