Declined
Last Updated: 20 Mar 2020 13:26 by ADMIN
Froggie
Created on: 13 Mar 2020 08:34
Category: ImageEditor
Type: Feature Request
1
Add property to disable zoom with CTRL+MouseWheel

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;
            }
        }

3 comments
ADMIN
Dinko
Posted on: 20 Mar 2020 13:26

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Froggie
Posted on: 20 Mar 2020 08:25

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.

ADMIN
Dinko
Posted on: 20 Mar 2020 08:11

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

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.