windows-8 - Windows 应用商店应用程序 : Change the icon of an AppBar Button?

标签 windows-8 winrt-xaml windows-store-apps

我想在我的 Windows 应用商店应用程序中更改 AppBar 按钮的图标。

我发现 AppBar 按钮具有如下所示的 XAML 标记:

<Style x:Key="PicturesAppBarButtonStyle"
       TargetType="ButtonBase" 
       BasedOn="{StaticResource AppBarButtonStyle}">
    <Setter Property="AutomationProperties.AutomationId"
            Value="PicturesAppBarButton"/>
    <Setter Property="AutomationProperties.Name" 
            Value="Pictures"/>
    <Setter Property="Content" Value="&#xE158;"/>
</Style> 

内容值是什么意思?有没有内置图标的引用?

另外,如何显示我自己的不同图标?

最佳答案

Content 是使用的字体“Segoe UI Symbol”的 Unicode 字符数。

查看符号列表 LIST OF BUTTON SYMBOLS

关于windows-8 - Windows 应用商店应用程序 : Change the icon of an AppBar Button?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14799100/

相关文章:

file-io - WinRT 目标多字节代码页中不存在 Unicode 字符的映射

xaml - 在 Windows 8 应用程序中将用户信息存储在哪里?

c# - 我可以在提交到商店之前测试真正的应用程序内购买吗?

windows-8 - Windows 8 广告显示在设置浮出控件之上

windows - 如何从服务器正确识别 IE10 Metro 和 IE10 Desktop 以便发回 "finger friendly"或 "mouse friendly"接口(interface)?

c# - 阻止 Windows 8 中的特定应用程序功能

c# - 如何为具有可变高度的弹出窗口设置垂直偏移

uwp - VS 2017 + UWP - 创建应用程序包失败 - 找不到语言文件

wpf - 当高度为自动时,如何让滚动条与 ListView 一起出现?

c# - 使用字符串作为 IEnumerable