[英]How to detect Left swipe and Right swipe for Stacklayout in Xamarin.Forms?
我一直試圖檢測左側滑動和右側滑動以進行stacklayout 。 我需要幫助的是,
請提供適用於跨平台的解決方案。
為stacklayout渲染器提供示例對於實現xamarin.forms中的滑動功能非常有用
我在GitHub上做過樣品回購,讓我知道你怎么想? https://github.com/tkowalczyk/SimpleCustomGestureFrame
StackLayout
像所有其他的布局類沒有渲染,因為布局由Xamarin.Forms本身沒有本機布局引擎的任何幫助,完全處理。
您可以采取哪些措施來實現您正在尋找的內容,即為Frame
實現自定義渲染器並在其上實現滑動手勢。 然后,您可以將StackLayout
放入Frame
然后您就可以解決了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.