In my WPF application, I have a canvas with a list in it. I want to overlay the Listboxitem on another control after it clicks on the element. But for this I need the Listboxitem position in the canvas. I see the problem because the only element is not a child of the canvas. Only the Listbox itself.
Is there a way to get the relative position of the ListboxItem in the canvas, or maybe the absolute position inside the window?
source
share