我的windows phone 7技能充其量是可怕的。只需触摸相应的应用程序栏按钮,我需要帮助设计一个功能,以便滑动到全景控制中的下一个或上一个全景项目。按应用程序栏按钮来循环全景物品,Windows Phone 7
考虑以下几点:
<Grid x:Name="Whole" Grid.Row="1">
<controls:Panorama Name="Chunks" Height="auto" Width="auto">
<!--Panorama item one-->
<controls:PanoramaItem x:name="first">
<Rectangle Height="auto" Width="auto">
<Rectangle.Fill>
<ImageBrush x:Name="Logic1"/>
</Rectangle.Fill>
</Rectangle>
</controls:PanoramaItem>
<!--Panorama item two-->
<controls:PanoramaItem x:name="second">
<Rectangle Height="auto" Width="auto">
<Rectangle.Fill>
<ImageBrush x:Name="Logic2"/>
</Rectangle.Fill>
</Rectangle>
</controls:PanoramaItem>
<!--Panorama item two-->
<controls:PanoramaItem x:name="third">
<Rectangle Height="auto" Width="auto">
<Rectangle.Fill>
<ImageBrush x:Name="Logic3"/>
</Rectangle.Fill>
</Rectangle>
</controls:PanoramaItem>
</controls:Panorama>
</Grid>
我怎么能写代码隐藏选择鉴于目前的全景项,并把它向左或向右的应用程序任务栏按钮的触摸滑动?请保留这项议案?这甚至有可能吗?
全景中没有二传手。然而,有一种技术可以使它在这个线程中工作:http://forums.create.msdn.com/forums/p/63484/389742.aspx#389742虽然这种类型的功能是一种破解不支持。 – keyboardP 2011-06-16 03:21:04
我怀疑这不是MS鼓励的事情,因为它不是标准行为。 – 2011-06-16 03:40:40
如果您创建此应用程序,该应用程序可能不会被市场接受,因为它是全景控制的意外行为。为什么这会有用?全景已经支持手势滚动,为什么浪费两个菜单按钮呢? – 2011-06-16 05:59:49