Need WPF support

I want to create a WPF grid where users can drag controls from one cell to another, and when the user drags, I need to draw tooltips on the screen like arrows. As if the clues were in ANOTHER LAYER on the screen. That is, they are not drawn in the grid I mentioned.

The problem is this: I don't know how to OVERLAP a "transparent" canvas on top of my grid so that I can draw on it.

Do you have guys who have a hint? THANKS.

+2
wpf drag-and-drop grid


source to share


2 answers


I think you are looking for Adorners. You can read something about them here: http://marlongrech.wordpress.com/2008/02/28/wpf-overlays-or-better-adorner/



+2


source to share


Here's an example with a listView control , very good.

Heres a tut also worthy.



And even a section in msdn

+2


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics