Double click not working for Silverlight

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

heromyth wrote at 2011-08-11 05:42:

After the axis panning, double clicking the mouse right button can't restore it. The double-clicking works for WPF and Winform.

I'm not sure whether it is a bug.


objo wrote at 2011-08-14 20:01:

It seems like Silverlight only raises single click right button events! Left button double clicks are ok, but I don't get the OnMouseRightButtonDown events for right clicks. Does anyone know a solution to this? Could it be a problem related to the silverlight context menu (we 'disable' the context menu by setting e.Handled = true)?


heromyth wrote at 2011-08-26 05:31:

Clicking the right button three or more times can raise the Double-Click right button event. Clicking the left button once and then clicking the right button also raises the Double-Clicking event.


objo wrote at 2011-08-28 21:19:

thanks for clearing this up! I found also a third way: Alt+left button double click. I updated the table on the "Home" wiki page.

The mouse command bindings should be up for a review! I think it should be possible to define which mouse button (and modifier key) is assigned to each action (pan, zoom, track). 

CodePlex