Hi,
Is it possible to trigger the rubber band zoom modifier on mouse double click?
<s:RubberBandXyZoomModifier
IsEnabled="{Binding NotRecording}"
IsXAxisOnly="True"
ZoomExtentsY="True"
IsAnimated="True"
RubberBandFill="#20FFFFFF"
RubberBandStroke="GreenYellow"
RubberBandStrokeDashArray="2 2"
ReceiveHandledEvents="True"
ExecuteOn="MouseDoubleClick"
>
</s:RubberBandXyZoomModifier>
The above does not trigger anything.
Ideally I’d like to double click to start the area selection and click again to confirm it, as opposed to mouse down and mouse up.
I want to do this because I’m using the mouse down event to place the Vertical Slice at the clicked position.
Thanks,
Declan.
- Declan Walsh asked 1 year ago
- You must login to post comments
Hi Declan,
Thanks for your inquiry.
This issue can be caused by other ChartModifier using ExecuteOn=”MouseLeftButton”.
Please check your ChartModifiers list and let us know if you need any further assistance.
With best regards,
Oleksandr
- Oleksandr Shvets answered 1 year ago
- Hi Oleksandr, Thanks for the reply. Unfortunately I still can’t get it to work. I tried removing all other modifiers and removing any other subscriptions to mouse events. Nothing happens. I can only get it to work on MouseLeftButton. Is there a way to activate the rubber band from the code behind?
- Hi Declan, Thanks for your reply. Could you please send us a small sample project reproducing the issue for investigation? You can also submit a ticket including a sample project here: https://support.scichart.com/index.php?/Tickets/Submit if you don’t want to publish a project on the public forum. Thanks in advance. With best regards, Oleksandr
- Hi Oleksandr, I’ve submitted a ticket with a sample. Thanks.
- You must login to post comments
Please login first to submit.