Click event On Vertex

May 5, 2011 at 6:48 AM

Hi,

I am trying to use this Graph in our application.Could any one tell me is there any click event on Vertex?

If yes please please provide the code snippent.

Anirban

Jan 18, 2012 at 9:31 AM

You can use MouseDown event available on the EdgeControl as follows,

 <Style TargetType="{x:Type graphsharp:EdgeControl}">
            <EventSetter Event="MouseDown"
                         Handler="Delete_Edge" />
 </Style>

Jun 22, 2012 at 10:54 AM

Thanks!