Can you add xaml into your FlipTileData BackContent?

97 views Asked by At

Is it possible to set xaml inside the FlipTileData.BackContent? Basically I just want to be able to set a full layout with multiple lines, control over spacing and layout and maybe an inline image. Is this possible or is the FlipTileData.BackContent limited to text only?

This is my current code for BackContent but I can not get anything other than just text to work in the there.

private FlipTileData GetSecondaryTileData()
    {
        FlipTileData tileData = new FlipTileData
        {
            Title = resortforTile.ListName,
            BackgroundImage = new Uri("/Assets/Tiles/MountainTile.png", UriKind.Relative),
            BackContent = ""
        };

        return tileData;
    }
1

There are 1 answers

1
Igor Kulman On BEST ANSWER

You cannot set XAML as BackContent but you can render the XAML into an image and set the BackBackgroundImage to this image.

More info at http://www.jayway.com/2012/04/03/advanced-transparent-live-tiles-with-count-for-windows-phone/