デスクトップアプリケーションからToast(not tile)通知を表示しようとしています。 (c#) グループがすべてOKですが、テキストと画像が表示されますが、グループ(サブグループ)は表示されません。 なぜですか?Windows 10での通知(winrt + desktop)サブグループでは動作しません
NotificationsExtensions.Win10でxmlを作成します。 必要に応じてraw xmlを送信します。おかげさまで
`
<?xml version="1.0" encoding="utf-8"?>
<toast launch="https://toster.ru/q/327775?e=3995419#comment_1108015">
<visual>
<binding template="ToastGeneric">
<text>Today will be mostly sunny with a high of 63 and a low of 42.</text>
<group>
<subgroup hint-weight="1">
<text hint-align="center">Mon</text>
<image src="file:///C:/Users/user/documents/visual studio 2015/Projects/android.forms.test/Lobster.Home.Toster.ru.Windows/bin/Debug/images/icon_activity_comment.png" hint-removeMargin="true" />
<text hint-align="center">63°</text>
<text hint-align="center" hint-style="captionSubtle">42°</text>
</subgroup>
<subgroup hint-weight="1">
<text hint-align="center">Tue</text>
<image src="file:///C:/Users/user/documents/visual studio 2015/Projects/android.forms.test/Lobster.Home.Toster.ru.Windows/bin/Debug/images/icon_activity_comment.png" hint-removeMargin="true" />
<text hint-align="center">57°</text>
<text hint-align="center" hint-style="captionSubtle">38°</text>
</subgroup>
<subgroup hint-weight="1">
<text hint-align="center">Wed</text>
<image src="file:///C:/Users/user/documents/visual studio 2015/Projects/android.forms.test/Lobster.Home.Toster.ru.Windows/bin/Debug/images/icon_activity_comment.png" hint-removeMargin="true" />
<text hint-align="center">59°</text>
<text hint-align="center" hint-style="captionSubtle">43°</text>
</subgroup>
<subgroup hint-weight="1">
<text hint-align="center">Thu</text>
<image src="file:///C:/Users/user/documents/visual studio 2015/Projects/android.forms.test/Lobster.Home.Toster.ru.Windows/bin/Debug/images/icon_activity_comment.png" hint-removeMargin="true" />
<text hint-align="center">62°</text>
<text hint-align="center" hint-style="captionSubtle">42°</text>
</subgroup>
<subgroup hint-weight="1">
<text hint-align="center">Fri</text>
<image src="file:///C:/Users/user/documents/visual studio 2015/Projects/android.forms.test/Lobster.Home.Toster.ru.Windows/bin/Debug/images/icon_activity_comment.png" hint-removeMargin="true" />
<text hint-align="center">71°</text>
<text hint-align="center" hint-style="captionSubtle">66°</text>
</subgroup>
</group>
</binding>
</visual>
</toast>
`
ありがとう、ありがとうございます。しかし、Windowsストアはこのコンピュータでは動作しません。アプリをインストールすることはできませんか?後でもう一度試してみてください。 私は天気予報を使用して、グループは隠されています –
私は私の答えを更新しました、あなたはそれを試してみてください? –
私のコードを使用するには、画像のパスを変更する必要があります。誤ったパスを使用するとデフォルトのテキストで通知されます。正しい画像パスを使用するとサブグループなしでテキストが得られます。 私はWPF共通デスクトップアプリからのニジショーを表示します.Windowsストアアプリでは表示しません。あなたと私のコードだけの画像の違い。 –