Xaml WP8轴内全景
我想将Pivot放置在Panorama中,并禁用Pivot的水平翻转手势 如果我为Pivot设置IsLocked=True,当我进行水平轻弹时, 全景项目未更改。 如果我为设置IshittesVisible=False Pivot,我不能点击Pivot里面的任何东西。 如何做到这一点: Pivot可以感知轻拍和垂直轻弹手势 “全景”可以感知水平摆动手势Xaml WP8轴内全景,xaml,windows-phone-8,windows-phone,pivot,panorama-control,Xaml,Windows Phone 8,Windows Phone,Pivot,Panorama Control,我想将Pivot放置在Panorama中,并禁用Pivot的水平翻转手势 如果我为Pivot设置IsLocked=True,当我进行水平轻弹时, 全景项目未更改。 如果我为设置IshittesVisible=False Pivot,我不能点击Pivot里面的任何东西。 如何做到这一点: Pivot可以感知轻拍和垂直轻弹手势 “全景”可以感知水平摆动手势 这不是Windows phone平台的推荐行为。在全景图中放置一个轴根本没有意义,这违反了WP的设计准则。您不能单独使用全景控制功能吗 在使用数
这不是Windows phone平台的推荐行为。在全景图中放置一个轴根本没有意义,这违反了WP的设计准则。您不能单独使用全景控制功能吗 在使用数据透视项时使用全景项,如果要垂直滚动,请使用滚动视图。按照您提到的方式操作可能会使您的应用程序无法认证
<Grid x:Name="LayoutRoot">
<phone:Panorama Title="my application">
<!--Panorama item one-->
<phone:PanoramaItem Header="item1">
<Grid>
<ScrollViewer Height="480">
<StackPanel>
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
<Button Content="Button" />
</StackPanel>
</ScrollViewer>
</Grid>
</phone:PanoramaItem>
<!--Panorama item two-->
<phone:PanoramaItem Header="item2">
<Grid/>
</phone:PanoramaItem>
<phone:PanoramaItem Header="item3">
<Grid/>
</phone:PanoramaItem>
</phone:Panorama>
</Grid>
使用上面的全景页面,您可以在全景项目之间进行水平滚动,并对全景项目的内容进行垂直滚动使用锁定轴,我可以以良好的视觉效果更改内容。我将在代码中切换轴心项目。用于导航的全景项目。