NuGet Package WPF Notifier

WPF.Notifier shows one or more toastnotification-windows.

Besides it's possible to show your own window with your viewmodel as a toastnotification.

(I)NotifierManager should be a Singleton, if you use it from different classes, because all notificationwindos are saved internally and removed after closing.

You can use a DI Framework like Ninject and register INotifierManager as Singleton.

Then call ShowNotification/ShowCustomNotification .

If you want to show your own window, you have to handle the animations and closing by yourself.

Show your own Notification:

call ShowCustomNotification(yourViewModel)

in App.xaml:

<Application.Resources>
<DataTemplate DataType="{x:Type local:yourViewModel}">
<local:TestView />
</DataTemplate>
</Application.Resources>.

Info

Version: 1.2.0
Author(s): Mario
Last Update: Wednesday, December 30, 2015
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/WPF.Notifier


Install
Install-Package WPF.Notifier
dotnet add package WPF.Notifier
paket add WPF.Notifier
WPF.Notifier Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

3

days-since-last-release

2215