Visual Studio 2015 comes with tool that enables the UI debugging for XAML at runtime.
The UI debugging tool for XAML helps diagnose the Design and Layout issues in the XAML applications.
The first of these tools are
- The Live Visual Tree and
- The Live Property Explorer
To enable the UI debugging for XAML, follow the steps
- In Visual Studio go to Tools
- Select Options
- Go to Debugging Section
- Look for Enable UI Debugging Tools for XAML
- Check the Preview selected elements in Live Visual Tree
More details on Live Visual Tree and Live Property Explorer
These tools help diagnose and review the visual tree of running desktop application written in WPF application and also properties of any element in the tree.