You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/adaptive-interactive-toasts.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ App notifications are defined with an XML payload that is defined by the [App no
25
25
26
26
**Install Notifications Visualizer.** This free Windows app helps you design interactive app notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. See [Notifications Visualizer](../notifications-visualizer.md) for more information, or [download Notifications Visualizer from the Store](https://apps.microsoft.com/detail/9nblggh5xsl1).
27
27
28
-
This article only covers creating the app notification content. For information on sending a notification after you have generated the XML payload, see [Send a local app notification](app-notification-csharp-legacy.md).
28
+
This article only covers creating the app notification content. For information on sending a notification after you have generated the XML payload, see [Send a local app notification](app-notifications-csharp-legacy.md).
29
29
30
30
## App notification structure
31
31
32
32
Some important, high-level components of an app notification XML payload include:
33
33
34
-
-**toast**: The **launch** attribute of this element defines what arguments will be passed back to your app when the user clicks your toast, allowing you to deep link into the correct content that the toast was displaying. To learn more, see [Send a local app notification](app-notification-csharp-legacy.md).
34
+
-**toast**: The **launch** attribute of this element defines what arguments will be passed back to your app when the user clicks your toast, allowing you to deep link into the correct content that the toast was displaying. To learn more, see [Send a local app notification](app-notifications-csharp-legacy.md).
35
35
-**visual**: This element represents visual portion of the toast, including the generic binding that contains text and images.
36
36
-**actions**: This element represents interactive portion of the toast, including inputs and actions.
37
37
-**audio**: This element specifies the audio played when the toast is shown to the user.
@@ -366,7 +366,7 @@ Here's an example where columns and some advanced adaptive text elements are use
366
366
367
367
Buttons make your toast interactive, letting the user take quick actions on your app notification without interrupting their current workflow. For example, users can reply to a message directly from within a toast, or delete an email without even opening the email app. Buttons appear in the expanded portion of your notification.
368
368
369
-
To learn more about implementing buttons end-to-end, see [Send local toast](app-notification-csharp-legacy.md).
369
+
To learn more about implementing buttons end-to-end, see [Send local toast](app-notifications-csharp-legacy.md).
370
370
371
371
Buttons can activate an app in the following ways:
372
372
@@ -969,10 +969,11 @@ Your tiles and app notifications can load strings and images tailored for displa
969
969
970
970
971
971
## Handling activation
972
-
To learn how to handle app activations (the user clicking your toast or buttons on the toast), see [Send local toast](app-notification-csharp-legacy.md).
972
+
To learn how to handle app activations (the user clicking your toast or buttons on the toast), see [Send local toast](app-notifications-csharp-legacy.md).
973
973
974
974
## Related topics
975
975
976
-
*[Send a local toast and handle activation](app-notification-csharp-legacy.md)
976
+
*[Send a local toast and handle activation](app-notifications-csharp-legacy.md)
977
977
*[Tile and toast notification support for language, scale, and high contrast](/windows/uwp/launch-resume/tile-toast-language-scale-contrast)
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-console.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ An app notification is a message that your app can construct and deliver to your
16
16
This article walks you through the steps to send and handle app notifications from a .NET console app using the [Windows App SDK](/windows/apps/windows-app-sdk/). The Windows App SDK `Microsoft.Windows.AppNotifications` APIs handle all the complexity of notification registration and activation for both packaged and unpackaged apps.
17
17
18
18
> [!NOTE]
19
-
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WPF](app-notification-wpf.md), [WinForms](app-notification-winforms.md), or [UWP](app-notification-uwp.md).
19
+
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WPF](app-notifications-wpf.md), [WinForms](app-notifications-winforms.md), or [UWP](app-notifications-uwp.md).
20
20
21
21
> [!IMPORTANT]
22
22
> Notifications for elevated (admin) apps are not currently supported.
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-cpp-uwp.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This quickstart walks you through the steps to create, deliver, and display a Wi
22
22
> The term "toast notification" is being replaced with "app notification". These terms both refer to the same feature of Windows, but over time we will phase out the use of "toast notification" in the documentation.
23
23
24
24
> [!IMPORTANT]
25
-
> If you're writing a C++ non-UWP app, please see the [C++ WRL](app-notification-cpp-wrl.md) documentation. If you're writing a C# app, please see the [C# documentation](app-notification-csharp-legacy.md).
25
+
> If you're writing a C++ non-UWP app, please see the [C++ WRL](app-notifications-cpp-wrl.md) documentation. If you're writing a C# app, please see the [C# documentation](app-notifications-csharp-legacy.md).
26
26
27
27
> [!NOTE]
28
28
> For C++ apps using the Windows App SDK, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md) which covers the recommended approach using the `Microsoft.Windows.AppNotifications` APIs.
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-csharp-legacy.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This quickstart walks you through the steps to create, deliver, and display a Wi
22
22
> The term "toast notification" is being replaced with "app notification".These terms both refer to the same feature of Windows, but over time we will phase out the use of "toast notification" in the documentation.
23
23
24
24
> [!IMPORTANT]
25
-
> If you're writing a C++ app, please see the [C++ UWP](app-notification-cpp-uwp.md) or [C++ WRL](app-notification-cpp-wrl.md) documentation.
25
+
> If you're writing a C++ app, please see the [C++ UWP](app-notifications-cpp-uwp.md) or [C++ WRL](app-notifications-cpp-wrl.md) documentation.
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-other-apps.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ An app notification is a message that an app can construct and deliver to the us
24
24
> The term "toast notification" is being replaced with "app notification". These terms both refer to the same feature of Windows, but over time we will phase out the use of "toast notification" in the documentation.
25
25
26
26
> [!IMPORTANT]
27
-
> If you're writing a C# app, then please see the [C# documentation](app-notification-csharp-legacy.md). If you're writing a C++ app, the please see the [C++ UWP](app-notification-cpp-uwp.md) or [C++ WRL](app-notification-cpp-wrl.md) documentation.
27
+
> If you're writing a C# app, then please see the [C# documentation](app-notifications-csharp-legacy.md). If you're writing a C++ app, the please see the [C++ UWP](app-notifications-cpp-uwp.md) or [C++ WRL](app-notifications-cpp-wrl.md) documentation.
28
28
29
29
> [!NOTE]
30
30
> If your app can use the Windows App SDK, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md) for the recommended approach.
@@ -126,3 +126,4 @@ Your COM activator will be activated when your notification is clicked.
126
126
127
127
The AUMID should be at most 129 characters long. If the AUMID is more than 129 characters long, scheduled app notifications won't work - you'll get the following exception when adding a scheduled notification: *The data area passed to a system call is too small. (0x8007007A)*.
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-uwp.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This article walks you through the steps to send and handle app notifications fr
19
19
> For new desktop apps, we recommend using the [Windows App SDK](/windows/apps/windows-app-sdk/) instead. See [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md) for the recommended approach using the `Microsoft.Windows.AppNotifications` APIs.
20
20
21
21
> [!NOTE]
22
-
> For other app types, see [WPF](app-notification-wpf.md), [WinForms](app-notification-winforms.md), or [Console](app-notification-console.md).
22
+
> For other app types, see [WPF](app-notifications-wpf.md), [WinForms](app-notifications-winforms.md), or [Console](app-notifications-console.md).
23
23
24
24
## Prerequisites
25
25
@@ -310,3 +310,4 @@ Background task registration and handling in C++ follows the same pattern. For d
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-winforms.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ An app notification is a message that your app can construct and deliver to your
16
16
This article walks you through the steps to send and handle app notifications from a WinForms app using the [Windows App SDK](/windows/apps/windows-app-sdk/). The Windows App SDK `Microsoft.Windows.AppNotifications` APIs handle all the complexity of notification registration and activation for both packaged and unpackaged apps.
17
17
18
18
> [!NOTE]
19
-
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WPF](app-notification-wpf.md), [Console](app-notification-console.md), or [UWP](app-notification-uwp.md).
19
+
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WPF](app-notifications-wpf.md), [Console](app-notifications-console.md), or [UWP](app-notifications-uwp.md).
20
20
21
21
> [!IMPORTANT]
22
22
> Notifications for elevated (admin) apps are not currently supported.
For unpackaged WinForms apps, `Register()` handles COM registration automatically. For packaged apps (MSIX), you need to add extensions to your `Package.appxmanifest`. See [Packaged app setup](app-notification-wpf.md#packaged-app-setup) in the WPF article for the required manifest entries.
163
+
For unpackaged WinForms apps, `Register()` handles COM registration automatically. For packaged apps (MSIX), you need to add extensions to your `Package.appxmanifest`. See [Packaged app setup](app-notifications-wpf.md#packaged-app-setup) in the WPF article for the required manifest entries.
164
164
165
165
## Related content
166
166
@@ -169,3 +169,4 @@ For unpackaged WinForms apps, `Register()` handles COM registration automaticall
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/app-notifications-wpf.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ An app notification is a message that your app can construct and deliver to your
16
16
This article walks you through the steps to send and handle app notifications from a WPF app using the [Windows App SDK](/windows/apps/windows-app-sdk/). The Windows App SDK `Microsoft.Windows.AppNotifications` APIs handle all the complexity of notification registration and activation for both packaged and unpackaged apps.
17
17
18
18
> [!NOTE]
19
-
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WinForms](app-notification-winforms.md), [Console](app-notification-console.md), or [UWP](app-notification-uwp.md).
19
+
> For WinUI apps, see [Quickstart: App notifications in the Windows App SDK](app-notifications-quickstart.md). For other app types, see [WinForms](app-notifications-winforms.md), [Console](app-notifications-console.md), or [UWP](app-notifications-uwp.md).
20
20
21
21
> [!IMPORTANT]
22
22
> Notifications for elevated (admin) apps are not currently supported.
@@ -254,3 +254,4 @@ For unpackaged WPF apps, `Register()` handles COM registration automatically. Fo
Copy file name to clipboardExpand all lines: hub/apps/develop/notifications/app-notifications/custom-audio-on-toasts.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,12 +77,13 @@ Supported audio file sources:
77
77
78
78
## Send the notification
79
79
80
-
Sending a notification with audio is the same as sending a regular notification. For Windows App SDK apps, use `AppNotificationManager.Default.Show()`. See [Send local toast](app-notification-csharp-legacy.md) to learn more.
80
+
Sending a notification with audio is the same as sending a regular notification. For Windows App SDK apps, use `AppNotificationManager.Default.Show()`. See [Send local toast](app-notifications-csharp-legacy.md) to learn more.
81
81
82
82
83
83
## Related topics
84
84
85
85
-[Full code sample on GitHub](https://github.com/WindowsNotifications/quickstart-toast-with-custom-audio)
86
-
-[Send a local toast](app-notification-csharp-legacy.md)
86
+
-[Send a local toast](app-notifications-csharp-legacy.md)
0 commit comments