DYH.Extensions.CAD.Wpf.Notification
0.3.0
dotnet add package DYH.Extensions.CAD.Wpf.Notification --version 0.3.0
NuGet\Install-Package DYH.Extensions.CAD.Wpf.Notification -Version 0.3.0
<PackageReference Include="DYH.Extensions.CAD.Wpf.Notification" Version="0.3.0" />
<PackageVersion Include="DYH.Extensions.CAD.Wpf.Notification" Version="0.3.0" />
<PackageReference Include="DYH.Extensions.CAD.Wpf.Notification" />
paket add DYH.Extensions.CAD.Wpf.Notification --version 0.3.0
#r "nuget: DYH.Extensions.CAD.Wpf.Notification, 0.3.0"
#:package DYH.Extensions.CAD.Wpf.Notification@0.3.0
#addin nuget:?package=DYH.Extensions.CAD.Wpf.Notification&version=0.3.0
#tool nuget:?package=DYH.Extensions.CAD.Wpf.Notification&version=0.3.0
DYH.Extensions.CAD.Wpf.Notification
WPF toast notification library extracted from DYH.Extensions.CAD.Wpf.
Supported target frameworks:
- .NET Framework 4.7.2 (
net472) - .NET 8 for Windows (
net8.0-windows)
Usage
using DYH.Extensions.CAD.WPF;
NotificationService.Send("Saved successfully", NotificationType.Success);
NotificationService.Send("Please check the input", NotificationType.Warning, 10);
NotificationService.Send can be called from any thread. It enqueues the message and returns without waiting for the notification window to render. The window runs on its own WPF UI thread, so a blocked CAD UI thread does not block the toast. Set durationSeconds to 0 or a negative value to keep a notification visible until it is dismissed manually.
The notification thread is still in the CAD process, so a process-wide CPU stall or system-level pause can delay it.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- No dependencies.
-
net8.0-windows7.0
- 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.
Run notifications on a dedicated WPF UI thread and refine toast enter and exit animations.