Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一种情况,我需要在 Windows Phone 8 的数据透视页面上移动到不同的数据透视,但我无法找到实现这一目标的方法。
这是屏幕截图:
当我点击任何 LongListItem 时,我想切换到“地图”支点。
C#+XAML+WP8
其实很简单,你只需要知道你想移动到哪个索引
YourPivotControl.SelectedIndex = selectedIndex;
枢轴控件主要基于列表并沿数据点进行枢轴。基本上,如果您有由列表项驱动的应用程序,那么 Pivot 控件是您的最佳选择:
在所描述的页面中选择一个项目与 Pivot 控件无关,Pivot 控件仅帮助您通过 Map 从 List 转到 AddP。
并滚动页面;见附件示例:
希望这会有所帮助。
问候