8

在我的 Windows Phone 应用程序的示例 appbar 中,我可以看到这行代码添加了一个按钮:

ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative));

我发现有趣的是图标来自“/Assets/AppBar/”。那里是否有任何其他标准的 Windows Phone 应用程序栏图标,如果有,是否有列表或参考供我使用?

4

3 回答 3

24

如果您已经安装了 Visual Studio,那么您可以从这里获取这些文件

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons

于 2013-07-18T05:00:23.020 回答
10

如果您打开 ApplicationBar Buttons 集合编辑器,您可以访问可用图标的列表。当您选择一个时,它将自动添加到项目中:

在此处输入图像描述

于 2013-07-18T07:31:52.700 回答
3

其他未包含在 Windows Phone SDK 中的图标可以在Modern UI Icons上找到。

于 2013-12-05T08:03:20.207 回答