LiveTileHelper Usage:


See the demo application (included with the source download) for more detailed examples.

Note: To use the live tile helper in your background agent project, include the BackgroundAgentTools dll rather than the LiveTileHelper dll. Using the LiveTileHelper dll will result in your applcication not passing submission checks!


Cycle Tile:
LiveTileHelper.CreateTile(
                new Uri("/MainPage.xaml", UriKind.Relative),
                new CycleTileData()
                {
                    SmallTileUI = new MyCustomCycleTileSmallUI(),
                    CycleUIs = new System.Windows.UIElement[] { new MyCustomCycleTileUI1(), new MyCustomCycleTileUI2(), new MyCustomCycleTileUI3() }
                });


Flip Tile
LiveTileHelper.CreateTile(
                new Uri("/MainPage.xaml", UriKind.Relative),
                new FlipTileData()
                {
                    SmallTileUI = new MyCustomFlipTileSmallUI(),
                    MediumTileBackUI = new MyCustomFlipTileMediumUI(),
                    WideTileFrontUI = new MyCustomFlipTileWideFrontUI(),
                    WideTileBackUI = new MyCustomFlipTileWideBackUI()
                });

Last edited Jul 13, 2013 at 6:39 PM by ssyrell, version 8

Comments

No comments yet.