-
WPF Drawing Tools
Hi all, I'm very new to WPF, and I'm exploring it as an option for my task at an internship. I need to be able to draw over a program that will be running video, animation, etc. I have two options I'm currently looking at and I'm just looking at pointers at which one would be better, or if either of them will even work.
1: Using a WPF user control to make a later of transparency over the entire program, at the top of the zorder. User is able to draw over this layer with drawing tools (they are already programmed). If user clicks on transparency, the click goes through to whatever is underneath it (A button, etc), but if they click on a drawn object, they're able to edit the drawn object (move, resize, etc)
2: (Now, this one I don't really understand. My boss explained it to me but I just don't understand how to do what he's asking for.) Have one form (like a toolbar) with drawing tools available. Clicking one of the drawing tools creates a transparent form OVER the currently existing form, with the drawn object on it.
Any help would be most welcomed.. Thank you.
-
Re: WPF Drawing Tools
You should take a look at the ink canvas contol for WPF. That control is made for what you need to do. I have seen some demo's which were vert impressive but I've never used it myself.
Good luck
-
Re: WPF Drawing Tools
I looked into this a bit, one issue i'm having is firing a click event for a button underneath the canvas when that area is clicked. Any pointers?