There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Snoop breaks binding of the control not exists when Snoop attached
I have a control which is dynamically generated and it bind some properties with other control using RelativeSource or ElementName. When I attach Snoop and then generate the control, I found those bindings are broken. I got following error message.
System.Windows.Data Error: 3 : Cannot find element that provides DataContext. BindingExpression:(no path); DataItem=null; target element is 'FrameworkElement' (Name=''); target property is 'DataContext' (type 'Object')
Then I selected the control on Snoop visual tree, the binding got recovered. Maybe because it reloads them.
Without attaching Snoop, the binding works correctly.