Answered by:
[UWP][Xaml]Pinch and Zoom functionality in UWP App

Question
-
Hello, I need to implement Pinch and Zoom functionality in my UWP.
Can some one point me an example for this? Also, currently I am having Windows 10 Laptop. Is it possible to view this feature in Windows 10 laptop? or this is only available for Tablets and phones?
Thanks
Vamsidhar M
- Edited by Vamsidhar M Monday, January 18, 2016 4:33 AM
- Edited by Rob Caplan [MSFT]Microsoft employee Monday, January 18, 2016 6:18 AM title tag
Monday, January 18, 2016 4:31 AM
Answers
-
Please see Welcome to the Developing Universal Windows apps forum!
and the Guide to posting: subject line tags
.
How to implement pinch and zoom depends on what exactly you are trying to achieve. Two typical ways are to embed the target in a ScrollViewer or to use Manipulation events directly.
See Custom user interactions for more info on user input.
These are universal features available on any device family.
Monday, January 18, 2016 6:17 AM
All replies
-
Please see Welcome to the Developing Universal Windows apps forum!
and the Guide to posting: subject line tags
.
How to implement pinch and zoom depends on what exactly you are trying to achieve. Two typical ways are to embed the target in a ScrollViewer or to use Manipulation events directly.
See Custom user interactions for more info on user input.
These are universal features available on any device family.
Monday, January 18, 2016 6:17 AM -
Thank You. I will definitely keep that in mind.
Can you help me how to set zoom and pinch for <canvas/>?
Vamsidhar M
Monday, January 18, 2016 7:47 PM -
Hello Vamsidhar
I recommend you mark Robs reply as an answer if it is helpful to your question.
>>Can you help me how to set zoom and pinch for <canvas/>?
If you are looking for an example about set zoom and pinch for <canvas/>, you could post a code sample request to:
https://code.msdn.microsoft.com/site/requests
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Tuesday, January 26, 2016 9:45 AM