xaml - 如何将 AppBarButton 图标添加到 Windows Phone 8.1 中的普通按钮?

标签 xaml windows-phone-8.1 win-universal-app

如何将 AppBarButton 图标添加到 Windows Phone 8.1 中的普通按钮?

this page的底部您可以看到正在使用的 AppBarButton 图标。我怎样才能做到与普通按钮相同或相似的操作?

<Button>
    <ICON HERE SOMEHOW />
    <TextBlock Content="Click Me!" />
</Button>

最佳答案

应用栏图标只是来自 Segoe UI Symbol 字体的字符。只需使用该字体创建一个文本 block 并选择您需要的图标(您可以使用 Windows 自带的名为 Character Map 的应用程序)

关于xaml - 如何将 AppBarButton 图标添加到 Windows Phone 8.1 中的普通按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23850899/

相关文章:

c# - 如何重置 DispatcherTimer?

c++ - 使用 C++ 代码获取 Windows Phone 8.1 中的唯一 DeviceId

c# - 带有附加条目的 Gridview

c# - Canvas 动画 - 不在循环中工作

c# - 在 MVVM 中数据绑定(bind) ObservableCollection<T>

c# - 跨多个程序集应用全局样式

c# - 2 个 View 模型在同一个 ObservableCollection 上工作,1 个 View 模型未更新

c# - 在绑定(bind)中包含链接

c# - 如何在 Windows Phone 8.1(通用)中获取设备的 RAM(512 mb、1GB、2GB)数量?

wpf - 覆盖 DatePicker 中的日历样式