/// <summary>
        /// メッセージの追加
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addMessageButton_Click(object sender, RoutedEventArgs e)
        {
            ITileWideSmallImageAndText03 tileContent = TileContentFactory.CreateTileWideSmallImageAndText03();

            tileContent.TextBodyWrap.Text    = "このメッセージはタイルとロックスクリーンに表示されます。";
            tileContent.Image.Src            = "ms-appx:///Assets/24.png";
            tileContent.RequireSquareContent = false;
            TileUpdateManager.CreateTileUpdaterForApplication().Update(tileContent.CreateNotification());
        }
        private void SendTile_Click(object sender, RoutedEventArgs e)
        {
            ITileWideSmallImageAndText03 tileContent = TileContentFactory.CreateTileWideSmallImageAndText03();

            tileContent.TextBodyWrap.Text    = "This tile notification has an image, but it won't be displayed on the lock screen";
            tileContent.Image.Src            = "ms-appx:///images/tile-sdk.png";
            tileContent.RequireSquareContent = false;
            TileUpdateManager.CreateTileUpdaterForApplication().Update(tileContent.CreateNotification());

            rootPage.NotifyUser("Tile notification sent", NotifyType.StatusMessage);
        }
        void SendTileNotification_Click(object sender, RoutedEventArgs e)
        {
            string scale;

            ResourceManager.Current.DefaultContext.QualifierValues.TryGetValue("Scale", out scale);

            ITileWideSmallImageAndText03 tileContent = TileContentFactory.CreateTileWideSmallImageAndText03();

            tileContent.TextBodyWrap.Text = "graySquare.png in the xml is actually graySquare.scale-" + scale + ".png";
            tileContent.Image.Src         = "ms-appx:///images/graySquare.png";
            tileContent.Image.Alt         = "Gray square";

            ITileSquareImage squareTileContent = TileContentFactory.CreateTileSquareImage();

            squareTileContent.Image.Src = "ms-appx:///images/graySquare.png";
            squareTileContent.Image.Alt = "Gray square";
            tileContent.SquareContent   = squareTileContent;

            TileUpdateManager.CreateTileUpdaterForApplication().Update(tileContent.CreateNotification());

            OutputTextBlock.Text = MainPage.PrettyPrint(tileContent.GetContent());
        }