Windows 8的 - 自定义动态瓷砖 [英] Windows 8 - Custom Live Tile

查看:122
本文介绍了Windows 8的 - 自定义动态瓷砖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发的C#为Windows 8的应用程序。

We are developing an app for Windows 8 in C#.

我们的应用涉及到用户创建的图纸,我们希望将他们的图纸到现场的瓷砖。

Our app involves drawings the user creates, and we'd like to incorporate their drawings into the live tile.

我发现设置的文字和图片为您的应用程序的现场瓷砖的例子。有没有办法做定制的东西来渲染线等。?

I have found examples of setting text and pictures as your app's live tile. Is there a way to do custom stuff to render lines, etc.?

或者是做什么,我们需要通过渲染一个PNG出我们的应用程序的应用程序数据目录的唯一途径?

Or is the only way to do what we need by rendering a PNG out to our app's AppData directory?

推荐答案

您将需要渲染PNG或JPG到应用程序的数据目录。活瓷砖有pre定义的模板固定的号码,那以外的所有你能做的就是挑模板与全平铺图像,并提供自己的形象。

You will need to render a PNG or JPG into the apps data directory. The live tile has a fixed number of pre-defined templates and outside of that all you can do is pick the template with a full-tile image and supply your own image.

这篇关于Windows 8的 - 自定义动态瓷砖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆