如何获取标题标题旁边的图标。示例是上面 WP8 上的 twitter 应用程序。提前致谢。
最佳答案
创建自定义 HeaderTemplate
这将显示一个图标而不是标题文本:
<controls:Pivot Title="Altered Styles">
<controls:Pivot.HeaderTemplate>
<!-- This changes to look of the items headers -->
<DataTemplate>
<!-- show image here -->
</DataTemplate>
</controls:Pivot.HeaderTemplate>
</controls:Pivot>
您也可以使用Panorama
控件来完成此操作。
关于c# - Pivot/Panorama Wp8 上的标题标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15172621/