How can I create a custom live tile in Windows Phone 8.1?

前端 未结 2 1063
醉梦人生
醉梦人生 2021-01-03 04:29

I wanted to ask how it\'s possible to achieve something like this (first wide tile):

http://oi59.tinypic.com/149p6s8.jpg

I know that there are only a limited

相关标签:
2条回答
  • 2021-01-03 04:35

    On Windows Phone 8.1 (or Windows 8.1) you can use the RenderTargetBitmap class. It has a method called RenderAsync() that takes a UIElement object as parameter. You can then use the RenderTargetBitmap object as an ImageSource to display it in the tile.

    0 讨论(0)
  • 2021-01-03 04:53

    You need to create an image (use a custom control and render an image from it) and use it has a bakcground.

    This link could help for generating the image: http://spasol.wordpress.com/2013/06/24/creating-custom-live-tiles-for-windows-phone/

    And here are the template available for universal app : http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh761491.aspx

    0 讨论(0)
提交回复
热议问题