'Is it possible to see live properties for ContextMenu in VS2015 Live Visual Tree?
Visual studio 2015 presented "Live Visual Tree" debug tool. It's pretty convinient and I've already used it with ordinary elements, but now I want to use it with ContextMenu.
I know that ContextMenu exists in separate visual tree and I wonder is it possible somehow to use new VS2015 debug features to see live properties for ContextMenu.
Solution 1:[1]
Visual Studio is just not capable of doing this for popups. Use Snoop instead.
Solution 2:[2]
You could try the WPF Inspector for analyzing wpf applications. It attaches to running wpf programs and allow you to get detailed Information about controls on it. Simply hover over the control you want to gather information from while pressing Ctrl.
The Wpf Inspector also provides you with an Logical and Visual Tree.
For more information see here: https://wpfinspector.codeplex.com/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Timothy Eichfeld |
| Solution 2 | ΩmegaMan |
