Results 1 to 3 of 3

Thread: WPF Drawing Tools

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2010
    Posts
    20

    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.

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    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
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2010
    Posts
    20

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width