Hi
I have a problem I need help to get pointed in the right correction for. I have a "background" image for my Silverlight application. This image is pretty complicated, so I'm not interested in recreating the image in XAML. Therefore I will have the image as a background, and then do some on top of it, to make it interactive.
The image have a structure like this:

I have some "point" which are connected with some paths. (The paths in the real image is straight, not defuse like my quick drawing here :) )
What I need to do it so be able to do something when the mouse if hover over one of these lines and something else when you click on one of the lines. Besides this, all the lines are "unik" in that way, that they all have an "id" that I need to be able to access and look at in the mouse events or something similar. Basically the mouse events need to do different things based on the "id" on this "path/line" or what ever we calling it.
I have an idea of how this could be done, just don't know how to start on this in Silverlight.
My idea is that I could maybe create a "Custom Path" class or something like that. Then I could draw up all these "paths" manually (I need to do it manually and this is ok, it isn't THAT many paths anyway). But how is this doable and is it doable, or does I need to do something different?
:)
Thanks in advance,
Qbus![]()
--------------------------
Please mark the post as answered if this answers your question
http://www.laumania.net