タイル テンプレート (画像を表示し、テキストを表示するように切り替えるタイル) を使用しようとしています。
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx#TileSquarePeekImageAndText04
問題は、この XML をどこに置き、XAML でどのように呼び出すことができるかということです。
タイル テンプレート (画像を表示し、テキストを表示するように切り替えるタイル) を使用しようとしています。
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx#TileSquarePeekImageAndText04
問題は、この XML をどこに置き、XAML でどのように呼び出すことができるかということです。
以下のTileUpdateManagerのドキュメントからわかるように、XAMLで呼び出すのではなく、TileUpdaterインスタンスに提供します。この単純なシナリオでは、ローカル通知を処理します(ただし、スケジュールされた通知、定期的な通知、およびプッシュ通知も利用できます)。
ガイダンスについては、アプリのタイルとバッジ、プッシュと定期的な通知のサンプルをご覧ください。
function sendTileTextNotification() {
var Notifications = Windows.UI.Notifications;
// Get an XML DOM version of a specific template by using getTemplateContent.
var tileXml = Notifications.TileUpdateManager.getTemplateContent(Notifications.TileTemplateType.tileWideText03);
// You will need to look at the template documentation to know how many text fields a particular template has.
// Get the text attribute for this template and fill it in.
var tileAttributes = tileXml.getElementsByTagName("text");
tileAttributes[0].appendChild(tileXml.createTextNode("Hello World!"));
// Create the notification from the XML.
var tileNotification = new Notifications.TileNotification(tileXml);
// Send the notification to the calling app's tile.
Notifications.TileUpdateManager.createTileUpdaterForApplication().update(tileNotification);
}