Reputation: 10478
When looking at a DependencyObject
instance in the Watch window while the debugger has stopped on a breakpoint, I can see every of its "hard" properties and what values they're on, if any.
This window however - or at least AFAIK -, won't show if there's any attached dependency properties on the object for which a value currently exists (different from "Unset").
Is there any other tool window inside Visual Studio that would give me that information?
Upvotes: 0
Views: 534
Reputation: 27890
In Visual Studio debugger you can open WPF Tree Visualizer for a variable:
It shows attached property values like Grid.Column set in this example:
Upvotes: 2
Reputation: 27890
In Visual Studio 2015 there is a Live Visual Tree that you can use to select a UI element and then Live Property Explorer will show all attached dependency properties for it.
Upvotes: 2