Context menu

Mar 2, 2012 at 11:06 PM

Hi.

I was wondering if there were a recommended way of showing a context menu when the user rights clicks in the HelixViewport3D? Currently we are subscribing to the mouse down event, but there are some problems relating to the mouse being capture and not released (maybe because the right mouse button is also used to move). Is there a way to add a ShowContextMenu Command/Gesture?

Regards Dagfinn

Coordinator
Mar 10, 2012 at 3:14 PM

I have used a standard wpf context menu on a HelixViewport3D in an application that shows a list of selectable items on left mouse clicks, but I have not tried it on the right mouse button. Should add an example that opens a context menu on both left and right clicks. For the left click context menu I had to open the context menu manually by setting IsOpen=true. 

May 28, 2013 at 12:53 PM
Could you give some examples? I have a HelixViewport3D with multiples ModelVisual3D and I would like that when you click with the right mouse button a contextual menu appear.