Example #1
0
        private void CreateTile(string from, string to)
        {
            var url = string.Format("/Views/ConverterPageView.xaml?from={0}&to={1}", from, to);

            var tileData = new FlipTileData
            {
                Title                = string.Format("{0} -> {1}", from, to),
                BackgroundImage      = new Uri("/Assets/Tiles/FlipCycleTileMediumExchange.png", UriKind.Relative),
                SmallBackgroundImage = new Uri("/Assets/Tiles/FlipCycleTileSmallExchange.png", UriKind.Relative),
            };

            _tileService.CreateTile(url, tileData, true);
        }