How can we improve the Windows dev platform?

Render Image from UIElement in Background task to update live tile

One of the things that makes Windows Phone unique is all the different custom live tiles that developers could make by rendering UIElements into images and updating the live tile with them. In Windows Phone 8.1 WinRT, there's a new rule that developers can only render UIElements that are in the VisualTree. This means that developers can't render UIElements from a background task, which is very important to us developers who want to provide a custom live tile for our users.

Please remove the restriction that a UIElement needs to be in the VisualTree.

20 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Joshua GrzybowskiJoshua Grzybowski shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    This is possible! In Windows Phone 8.1, you can use XamlRenderingBackgroundTask which will allow you to render UIElements.

    In Windows 10, we brought XamlRenderingBackgroundTask to Desktop, so both Mobile and Desktop can use that background task.

    However, you should look into Adaptive Tile Notifications, which are new in Windows 10! They allow a decent amount of customization without all the overhead of generating PNG’s – that’s how the MSN Weather app makes their live tiles. Learn about it here: https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/06/30/adaptive-tile-templates-schema-and-documentation/

    Thanks!
    Andrew – Windows Notifications

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base