I use RelativeSource binding with FindAncestor mode, but the binding does not work. How to debug and see if he can find his ancestor?
RelativeSource
FindAncestor
use snoop
EDIT: You can, of course, use the usual debugging mechanisms , but I like Snoop. You can go to your control, and if your binding failed, he informs you about it
Or you can set PresentationTraceSources.TraceLevel to a binding. If you are using VS2010, remember to set the data binding value in Options-> Debugging-> Output Window
I use WPF Inspector , these are good free tools for debugging a WPF application at the XAML level.
Source: https://habr.com/ru/post/1342101/More articles:in eclipse 3.61 error when trying to install google WindowMaker via updateite - eclipseGrails urlmapping using id and name - grailsDjango Show more fields in many ways on the admin page - djangoNon-Stretching ScrollView - androidIs there a way to read an input stream in a specific amount of time? - javaLite Python AMQP server for dev and mock? - pythonAre there any real circumstances in which foo = foo makes sense? - c #Git cat put file in stdout - gitFor Vaadin Combo Box, I need to display one value and set another value - vaadinreusing code one one C # - c #All Articles