INotificationService.ShowAsync(NotificationRequest, CancellationToken)— awaitable show that completes with a structuredNotificationCloseResult.INotificationService.ShowDialogAsync(NotificationRequest, NotificationDialogFallback, CancellationToken)— explicit-choice dialog with N action buttons.NotificationCloseReason,NotificationCloseResult,NotificationButton,NotificationButtonRole,NotificationDialogFallback(Notification.Core).- Convenience extensions
ShowAsync(string, type, ...)andShowAsync(string, string, type, ...). - WPF
Notification.NotificationClosednow carriesNotificationClosedRoutedEventArgswithReason/ButtonId/ButtonIndex. NotificationLifecycleEventArgs.CloseReason(nullable) populated for Closed / Dismissed.
- WPF
NotificationClosedevent raisesNotificationClosedRoutedEventArgs : RoutedEventArgs. Handlers typed as(object, RoutedEventArgs)continue to work; handlers castingeto a different args type break. NotificationRequest.LeftButtonAction/LeftButtonContent/RightButtonAction/RightButtonContentare marked[Obsolete]. They keep working in v11; removal is planned for v12.- External implementations of
INotificationServicemust addShowAsyncandShowDialogAsync.
See Migration.md for before/after code snippets and reference implementation patterns.
See specs/roadmap.md.
v10.1.0
- #82: colorable type icons — the built-in Success / Warning / Error / Information icons can now be tinted by status
- Config: added
DefaultIconColor,SuccessIconColor,WarningIconColor,ErrorIconColor,InformationIconColortoINotificationConfiguration/NotificationConfiguration(all default to white — out-of-the-box appearance unchanged) - WPF: added
IconForegroundtoNotificationContent/ICustomizedOptionsfor per-notification icon color - Core: added
NotificationRequest.IconColor - Sample: added "Use icon color" and "Override type background" toggles to the WPF sample
- All packages aligned to version
10.1.0.0 - Full backward compatibility — all existing APIs keep working
v10.0.0
- Progress API: added tuple-free
Report(value),Report(value, message),Report(value, message, title)andReportIndeterminate(...)overloads - Progress API: added
NotificationProgressReport.Indeterminate(...)factory andWithValue/WithMessage/WithTitle/WithShowCancelhelpers - Progress API: added tuple-free
GetSlowedProgress(int),GetValueProgress(...),GetSlowedValueProgress(...) - Obsolete: tuple-based
GetProgress<T>/GetSlowedProgress<T>marked[Obsolete](still functional) - ProgressBar: added
ShowProgressBar(ProgressBarOptions)— replaces the 16-parameter positional overload (now[Obsolete]) - Builder: added
NotificationBuilder.WithContent(object)andNotificationRequest.Content— custom content via the Builder API - Docs: added Migration Guide; full XML documentation across Core, Console, Avalonia, MAUI and WPF
- Fix #48:
Dismiss(Guid)/DismissAll()now actually close the target notification (a real dismiss handle is registered per notification) - Fix #66: fixed
InvalidOperationExceptionrace — the overlay window reference is dropped onClosingandShow()is guarded against a closing window - #71:
NotificationConstants.KeepNotificationVisibleOnMouseOver— pauses the auto-close timer while the cursor is over the notification - #52:
Notification.CornerRadiusdependency property andNotificationConstants.NotificationCornerRadius— rounded notification cards - #53: the close (X) icon now follows the notification
Foregroundand can be styled - #65:
NotificationConstants.OverlayWindowTopmost— controls whether the overlay window stays on top - #54: right-click support —
NotificationContent.RightClickAction,NotificationRequest.OnRightClick,NotificationBuilder.OnRightClick - All packages aligned to version
10.0.0.0 - Full backward compatibility — all existing APIs keep working
v9.0.0
- Breaking: Extracted platform-agnostic
Notification.Core(netstandard2.0) from monolithic WPF project - New platforms: Added
Notification.Console,Notification.Avalonia(net8.0),Notification.Maui(net10.0) - Builder API: Cross-platform fluent builder (
NotificationBuilder) with priorities, groups, callbacks, text settings, colors - Lifecycle Events:
INotificationEventService— Shown, Clicked, Closed, TimedOut, Dismissed stages - DI support:
AddNotifications(),AddWpfNotifications(),AddConsoleNotifications(),AddAvaloniaNotifications(),UseMauiNotifications() - Queue with priorities:
INotificationQueuewith Low/Normal/High/Critical priority and group deduplication - Cross-platform types:
NotificationColor,NotificationTextSettings,NotificationThickness,NotificationImageData - Configuration:
INotificationConfigurationreplaces staticNotificationConstants(backward compatible — static API still works) - Added .NET 8/9/10 support for WPF (
net10.0-windows,net9.0-windows,net8.0-windows,net48) - Replaced tuple-based progress API with
NotificationProgressReportstruct - Memory leak fixes in notification lifecycle
- 134 unit tests across Core, Console, and WPF adapter test projects
- Updated CI/CD pipeline for multi-package build, test, and NuGet publish
- Full backward compatibility — all existing WPF APIs (
NotificationManager,NotificationArea,NotificationConstants) work unchanged
v6.1.0.1
- corrections in translation
v6.1.0.0
- Added stack control. Use
NotificationConstants.IsReversedPanelto change stack orientation. Set asnull to default. - Message position as
Absolutewith constant setting:NotificationConstants.AbsolutePosition
v6.0.0.0
- Added net6 supporting
v5.7.1.2
- fix text settings for string only messages
v5.7.1
- Remove FontAwesome dependency
- Corrects message height calculation when font style changes to non-standart
- Fix SwgAwesome STA error whith progress
v5.7.0
- Add new sample project in repository
- Add Center screen message position
- Fix progress margin style when no waiting message and button
- Add functions for base message functions (errors view, open file or directory)
v5.6.1
- Added Image template for Notification content
v5.6.0
- Added overlay window position from constants,
- ImageSource template for icon,
- X-Close button visible setting
- Add Notification Min and Max Setting
v5.5.0
- Added text style settings to content
v5.4.0
- Added section for image
- if icon is null - left column will collapse
v5.3.0
- access to basic message settings
- setting the number of messages in the window
- settings for the progress bar to automatically collapse with a large number of messages
- settings progress bar styles
- New progress bar initializing template
- Add more sample in test project
Just change it befor first using
v5.2.0
- Color and Icons in settings
v5.1.0
- Add Slowed progress bar
- Add Waiting timer for progress bar
v5.0.0
- Platform support