Archived: Introducing NotificationsExtensions for Windows 10!


The NotificationsExtensions library allows you to generate tile, toast, and badge notifications in an object-oriented fashion, instead of directly dealing with messy XML. The previous version of NotificationsExtensions was written for Windows 8.1, and therefore didn’t support the new adaptive/interactive notifications of Windows 10.

NotificationsExtensions.Win10 is now available, and fully supports adaptive tiles and adaptive/interactive toast notifications!

Quick Links

Quick Sample

Here’s a quick code snippet that shows you what NotificationsExtensions gives you…

TileBindingContentAdaptive bindingContent = new TileBindingContentAdaptive()
{
    PeekImage = new TilePeekImage()
    {
        Source = new TileImageSource("Assets/PeekImage.jpg")
    },

    Children =
    {
        new TileText()
        {
            Text = "Notifications Extensions",
            Style = TileTextStyle.Body
        },

        new TileText()
        {
            Text = "Generate notifications easily!",
            Wrap = true,
            Style = TileTextStyle.CaptionSubtle
        }
    }
};
<binding template="...">
  
  <image src="Assets/PeekImage.jpg" placement="peek" />
  
  <text hint-style="body">Notifications Extensions</text>
  
  <text hint-style="captionSubtle" hint-wrap="True">Generate notifications easily!</text>
  
</binding>

Installing NotificationsExtensions

The easiest way to install NotificationsExtensions is through NuGet. The package ID is “NotificationsExtensions.Win10“, the Author is Microsoft.

First, open the NuGet Package Manger inside your Visual Studio project.

And then search for “NotificationsExtensions.Win10” and install it.

Alternatively, you can clone the project from the GitHub page and then reference the projects yourself, if you so wish. But using NuGet is ridiculously easier. If you have any problems using this library through NuGet, please contact me.

Getting Started

To learn how to use NotificationsExtensions, please see our documentation.

Skip to main content