Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Arrow Control
2 replies. Latest Post by moorster on July 4, 2009.
(0)
moorster
Member
6 points
11 Posts
07-04-2009 1:45 AM |
I'd like to make an "arrow" control that I can use to connect two arbitrarily-placed controls on a Canvas. I'd like the arrow control to consist of a line and an arrowhead, respond to mouseover and click events and have an attached textual label. Can someone point me in the right direction? Should I use a UserControl containing a Path or should I inherit from the Line control?
jay nana...
Contributor
3388 points
624 Posts
07-04-2009 4:34 AM |
Hey what about this?
http://fluxcapacity.net/2007/09/01/a-silverlight-graph-visualizer/
the source code is here:
http://fluxcapacity.net/wp-content/uploads/2008/4/GRender2Beta1.zip
07-04-2009 2:50 PM |
Cool! It looks like he's using Canvas objecs for the nodes then conneting them with Line objects drawn on the parent Canvas objects. That's a pretty cool solution.