

The toast content is defined in raw XML, but you can use our NuGet library to get a C# (or C++) object model for constructing the toast content. audio: Controls the audio played when the toast is shown to the user.actions: The interactive portion of the toast, including inputs and actions.visual: The visual portion of the toast, including the generic binding that contains text and images.launch: This 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.

The core components of toast content are. Toast notifications are a combination of some data properties like Tag/Group (which let you identify the notification) and the toast content. This documentation only covers creating the toast content. To learn how to send a notification, see Send local toast. See Notifications Visualizer for more information, or download Notifications Visualizer from the Store. This free Windows app helps you design interactive toast notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. The C# samples provided in this article use version 7.0.0 of the NuGet package. To use the C# builder syntax, install the NuGet package, follow the Builder syntax sample tabs below and reference the toast content schema. To use XML, follow the XML sample tabs below and reference the toast notification XML schema.

You can define a notification's content using XML or the builder syntax. Important APIs: UWP Community Toolkit Notifications nuget package Getting started Adaptive and interactive toast notifications let you create flexible notifications with text, images, and buttons/inputs.
