WPF.Notifier
1.1.0
See the version list below for details.
dotnet add package WPF.Notifier --version 1.1.0
NuGet\Install-Package WPF.Notifier -Version 1.1.0
<PackageReference Include="WPF.Notifier" Version="1.1.0" />
paket add WPF.Notifier --version 1.1.0
#r "nuget: WPF.Notifier, 1.1.0"
// Install WPF.Notifier as a Cake Addin #addin nuget:?package=WPF.Notifier&version=1.1.0 // Install WPF.Notifier as a Cake Tool #tool nuget:?package=WPF.Notifier&version=1.1.0
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- changed colors
- refactored some methods
- added ShowCustomNotification method
Show your own Notification:
call ShowCustomNotification(yourViewModel)
in App.xaml:
<Application.Resources>
<DataTemplate DataType="{x:Type local:yourViewModel}">
<local:TestView />
</DataTemplate>
</Application.Resources>