1

I'm trying to draw a custom Live Tile in my Windows Universal App. Specifically, a circle. I understand that I can provide a bitmap, but I'm not having any luck.

I've tried to follow examples online, but without any luck. Like this: How do I create a WP8 Live Tile with a custom layout?

It uses a WriteableBitmap's .Render() - but when I try to do the same, it seems that .Render() does not exist.

Can someone give me an example of how to create a bitmap that will work in a Universal App that will run on Windows Phone 8 (and ideally the Windows 8 + Windows 10 + Windows Phone 10)?

Community
  • 1
  • 1
Rob P.
  • 14,921
  • 14
  • 73
  • 109

1 Answers1

3

If I understand you correctly, then RenderTargetBitmap is the new class you are looking for. This is supported by Universal apps and supports the rendering of UI elements.

Jon
  • 2,891
  • 2
  • 17
  • 15