KeyBoard Events on Edges

Oct 18, 2011 at 1:21 PM

Hi, first of all thanks for this library is awesome. My question is how i can add KeyDown event to an Edge, i tried adding the event to style of edge, but it never fires.

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

I can add MouseDoubleClick event and it works but i dont know why this doesn`t.

Any idea?

Thanks