Please add a property to disable the zoom witch CTRL+MouseWheel. Maybe something like IsMouseWheelZoomEnabled with a defaut value of true.
There are already other properties like IsPanningEnabled or ZoomToCursor.
The currently known solution is:
private void imageEditor_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
{
if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
{
e.Handled = true;
}
}
Hello S. J.,
You are right that this property is not described in our documentation. That is why it was overlooked, and I apologize for that. We have logged an item in our backlog system to add it to the documentation. I also have raised its priority.
If you have any other questions, you can open a new ticket with your questions inside. We will be happy to help.
Regards,
Dinko
Progress Telerik
Hi!
I did nit know about this property. It is only mentioned in the API Reference but not in the documentation.
I also opened a Support Ticket to know how I can turn it off and the event handling was the answer to this ticket.
Hello Froggie,
Thank you for the provided code snippet.
You can set the AllowMouseWheelScaling property of the RadImageEditor to false. This way you should be able to disable the zoom.
Give this property a try and let me know how it goes.
Regards,
Dinko
Progress Telerik