Notifications Lib
Download

Getting Started
Last updated
using Cookie;using Cookie;
namespace YourApp
{
class Program
{
public static NotificationHost notificationHost = new NotificationHost();
}
}private void ButtonClick(RoutedEventArgs a)
{
notificationHost.ShowNotification( "Text", "Title",
new ImageBrush(image), (notification) =>
{
/*
* You can either wait for the notification to dismiss after 'x'
* seconds or dismiss immediatly when the notification is clicked.
*/
notificationHost.DismissNotification(notification);
// Handle Notification Clicks Here
Debug.WriteLine("Notification was clicked.");
});