我想在我的 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=""/>
</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/