This question is locked. New answers and comments are not allowed.
I need to use the ContextMenu in a way that allows me to also respond to a right click event on the item.
The application is a diagram based UI, where there are many items on a canvas. When an item is right clicked, it should be selected first, then the contextmenu should open.
I am using the telerik method to adding a mouse handler :
Note that I am using it for the mouse DOWN. On the same UIElement (componentArtboard), I have a RadContextMenu defined, with EventName set to 'MouseRightButtonUp'.
When I right click, the context menu somehow swallows the mouse down event, even though it is set to respond to MouseRightButtonUp. Even more confusing is that the Mouse.AddMouseDownHandler above is set to also catch handled events.
I am at a loss here. Is this a bug?
The application is a diagram based UI, where there are many items on a canvas. When an item is right clicked, it should be selected first, then the contextmenu should open.
I am using the telerik method to adding a mouse handler :
Mouse.AddMouseDownHandler(componentArtBoard, componentArtboard_MouseDown,
true
);
Note that I am using it for the mouse DOWN. On the same UIElement (componentArtboard), I have a RadContextMenu defined, with EventName set to 'MouseRightButtonUp'.
When I right click, the context menu somehow swallows the mouse down event, even though it is set to respond to MouseRightButtonUp. Even more confusing is that the Mouse.AddMouseDownHandler above is set to also catch handled events.
I am at a loss here. Is this a bug?