简体   繁体   English

xamarin.forms中的手势

[英]Gestures in xamarin.forms

How to swipe left,right,top and bottom gestures with xamarin.forms control? 如何使用xamarin.forms控件滑动左,右,上和下手势?

I have worked all gestures separately in native platforms with renders it's too risky and too late output as well. 我已经在本机平台上单独处理所有手势,并且渲染起来太冒险,而且输出也太晚了。 Most of the people suggesting to purchase MR Gesture. 大多数人建议购买MR Gesture。 Is it correct to work with MR Gesture or is there any other alternative with swipe in xamarin.forms? 使用MR手势是否正确,或者在xamarin.forms中滑动还有其他选择吗?

Currently, Forms only supports Tap gestures. 当前,窗体仅支持轻击手势。 To add support for swipe, you will either need to use a third party package like MRGestures, or write a platform renderer to handle them. 要添加对滑动的支持,您将需要使用第三方包(例如MRGestures),或编写平台渲染器来处理它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM