This is a migrated thread and some comments may be shown as answers.

How to tell when the PanAndZoomImage has zoomed?

2 Answers 18 Views
PanAndZoomImage
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
P
Top achievements
Rank 1
P asked on 03 Sep 2013, 03:54 PM
Ideally I'm looking for a HasZoomed event, is there anything like that or a workaround to detect when the image has zoomed? Size Changed doesn't fire.

2 Answers, 1 is accepted

Sort by
0
P
Top achievements
Rank 1
answered on 04 Sep 2013, 09:26 AM
I haven't found a nice solution, but I'm using Manipulation Started/Completed events and check the .Zoom property. Not very nice, but seems to work.
0
Todor
Telerik team
answered on 04 Sep 2013, 10:19 AM
Hi,

It is in our plans to include an event in RadSlideView that will fire when it changes its modes: from the image in full screen to zoomed image or to filmstrip mode and then when the mode changes back.

If you are using the PanAndZoomImage inside RadSlideView this event will be useful for you scenario as well. If you use the PanAndZoomImage alone you can continue with your approach.

The new event will be available with the official release in mid-October.

I hope this information helps.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
PanAndZoomImage
Asked by
P
Top achievements
Rank 1
Answers by
P
Top achievements
Rank 1
Todor
Telerik team
Share this question
or