WPF应用程序的Windows 8平铺图标? [英] Windows 8 Tile Icon for WPF application?
问题描述
伙计们,第一次发帖 -
guys, first time posting -
我是 Windows 开发和 VS 的新手(在 Windows 8.1 上使用 2013).
I'm a newbie to Windows development and VS (Using 2013 on Windows 8.1).
我通过
文件->新建项目/WPF 应用程序.
File->New Project/WPF application.
该应用程序运行良好,完全符合我的要求.
The application works great, and does exactly what I'd like it to do.
我成功添加了一个大 (128x128) 图标,并通过在解决方案资源管理器中右键单击我的项目并在其中指定我的 .ico 文件,使其在 Windows 7 的任务栏和开始菜单上看起来很棒.
I successfully added a large (128x128) icon and got it to look great on Windows 7's taskbar and start menu by right-clicking my project in the Solution Explorer and specifying my .ico file through there.
我还在 MainWindow.xaml 文件中添加了图标"属性,它甚至在 Windows 8 的任务栏上看起来也很棒...
I also added the 'Icon' property to my MainWindow.xaml file and it even looks great on the taskbar of Windows 8...
但是,它甚至没有在 Windows 8 的开始菜单上显示我的应用程序图标,而且我很难找到针对此问题的文档.
However, it doesn't even display my app's icon on the Start Menu of Windows 8, and I am having a really hard time finding documentation specific to this issue.
我确定这很简单,但我只是被卡住了.
I'm sure it's a no-brainer but I'm just stuck.
如何在 Windows 8 中获得漂亮的图标和磁贴?
How do I get a nice icon and tile in Windows 8?
推荐答案
动态磁贴仅在 Windows 应用商店应用程序中受支持,但您可以使用一些第三方解决方案,这些解决方案提供了一种通过桌面应用程序之间的互操作添加此功能的方法和单独的 Windows 应用商店应用程序(此应用程序安装在最终用户计算机上,其行为类似于可以为其客户端提供 Tile 的服务器,这些应用程序实际上是桌面应用程序).
例如,DevExpress 解决方案 - WinRTLiveTileManager.
或者你可以自己实现这种方法......
Live tiles are only supported in Windows Store Applications but you can use some third-party solutions that provides a way to add this capability via the interoperation between your Desktop Application and separate Windows Store application (this one is installed on end-users computers and behaves like a server that can provide a Tile for its clients, which actually are the Desktop applications).
For example, DevExpress solution - WinRTLiveTileManager.
Or you can implement this approach itself...
这篇关于WPF应用程序的Windows 8平铺图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!