c# - 适用于 WinRT 的 AppBarButtonSyle

标签 c# xaml windows-runtime

是否有一个列表,我可以在其中查找 AppBarButton 的值?

如果我在 StandardLayout.xaml 中查找,我会找到一些示例,如下所示

<Style x:Key="ZoomOutButtonStyle" TargetType="Button" BasedOn="{StaticResource AppBarButtonStyle}">
  <Setter Property="AutomationProperties.AutomationId" Value="ZoomOutButtonStyle"/>
  <Setter Property="AutomationProperties.Name" Value="Zoom Out"/>
  <Setter Property="Content" Value="&#xE1A4;"/>
</Style>

是否有像这样的值列表

&#xE1A4;

谢谢。

最佳答案

运行字符映射程序并从字体列表中选择 Segoe UI 符号:-

Character Map clip

在您的示例中,您正在寻找的是 忽略开头的 &#x。您可以使用任何字体查看器程序或查看免费版本的 Syncfusion Metro Studio (2 intro min vid)Syncfusion Metro Studio FREE用于更高级的图标操作。

尽情尝试...

关于c# - 适用于 WinRT 的 AppBarButtonSyle,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12228266/

相关文章:

c# - 依赖属性优化?

javascript - 如何在 WinJS 中对异步函数调用进行排队?

c# - 当我尝试通过 WinRT 对象从 C++ 调用回调到 C# 时如何解决此 E_POINTER (NullPointerException)?

c# - 大数据上的 GZipStream

c# - 如何设置 NLOG 使用多个数据库

c# - 可移植类库对象序列化

c# - 使用 MVVM 在 Windows 应用商店应用中进行事件处理

c# - ImageBrush 问题 Windows Phone 8.1

xaml - 为 ContentDialog 配置覆盖背景颜色

c# - 安装后 Windows 服务未出现在服务列表中