【发布时间】:2013-10-29 20:52:48
【问题描述】:
我正在制作一个 Windows Phone 8 C#/XAML 应用程序,我将在其中使用 Pivots。
我需要将 Pivot 标头替换为允许我在枢轴之间切换的其他内容 - 如下所示:
____________________________
| |
| O O |
| |
| ...pivot content... |
| ........ |
(两个“O”符号是单选按钮或类似的东西,而不是枢轴标题,我希望它们在整个页面被查看期间都保持可见)
现在,我认为解决它并使它看起来像这样的最佳方法是隐藏/删除数据透视和数据透视项的标题并放置“单选按钮”。
如何在 windows phone 8 上实现它(最好通过 XAML 中的样式,我需要多个看起来像这样的数据透视控件 - 在多个页面上)?
//this is pseudocode based on XAML just to show the structure I'm thinking about
<grid>
<radiobuttongroup>
<radiobutton /> //"radiobuttons" for moving between pivot items
<radiobutton />
...
</radiobuttongroup>
<pivot>
<pivotitem /> //the actual pivot items with content
<pivotitem />
....
</pivot>
</grid>
我一直在搜索,但找不到任何可以为我“敲响警钟”的内容。
【问题讨论】:
标签: c# xaml windows-phone-8