Windows Phone 8.1平铺不会翻转

时间:2014-08-12 02:27:06

标签: c# windows-phone-8

如何为Windows Phone 8.1 Flip制作实时磁贴?

我有这段代码,但不知道在哪里添加它。或者,如果还有什么需要我实施的话。

    FlipTileData TileData = new FlipTileData()
    {
        Title = "[title]",
        BackTitle = "[back of Tile title]",
        BackContent = "[back of medium Tile size content]",
        WideBackContent = "[back of wide Tile size content]",
        Count = 2,
        SmallBackgroundImage = new Uri("/Assets/Tiles/ApplicationIcon.png", UriKind.Relative),
        BackgroundImage = new Uri("/Assets/Tiles/FlipCycleTileMedium.png", UriKind.Relative),
        BackBackgroundImage = new Uri("/Assets/Tiles/CycleImage1Medi.png", UriKind.Relative),
        WideBackgroundImage = new Uri("/Assets/Tiles/CycleTileLarge.png", UriKind.Relative),
        WideBackBackgroundImage = new Uri("/Assets/Tiles/CycleImage1Wide.png", UriKind.Relative),
    };

我想从这里做什么?谢谢你的帮助!

1 个答案:

答案 0 :(得分:1)

我不确定FlipTileData的此模​​板是否适用于WP 8.1。

该主题讨论WP 8.1的live tiles

http://blogs.msdn.com/b/thunbrynt/archive/2014/04/10/windows-phone-8-1-for-developers-live-tiles.aspx

This也可以作为参考。

希望它有所帮助!