【发布时间】:2016-05-01 10:19:21
【问题描述】:
我创建了一个 Xamarin Forms 项目。我的项目中有以下 XAML:
<CarouselPage>
<ContentPage>
<StackLayout>
<Label Text="Red" />
<BoxView Color="Red" VerticalOptions="FillAndExpand" />
</StackLayout>
</ContentPage>
<ContentPage>
<StackLayout>
<Label Text="Green" />
<BoxView Color="Green" VerticalOptions="FillAndExpand" />
</StackLayout>
</ContentPage>
<ContentPage>
<StackLayout>
<Label Text="Blue" />
<BoxView Color="Blue" VerticalOptions="FillAndExpand" />
</StackLayout>
</ContentPage>
</CarouselPage>
现在轮播页面适用于以下平台:
UWP - 本地机器
Windows 8.1 - 本地机器
Android - 模拟器
不适用于以下平台:
UWP - 设备(移动)
WinPhone (WinPhone 8.1) - 设备(移动)
它无法识别手机上的滑动手势。我该如何解决这个问题?
【问题讨论】:
标签: xaml win-universal-app carousel xamarin.forms win-phone-silverlight-8.1