Snt.Lib.Wpf.Notifications.WpfUi 0.4.1

Snt.Lib.Wpf.Notifications.WpfUi

WPF-UI InfoBar-based notification templates for Snt.Lib.Wpf.NotificationHost. Drop in WpfUiNotificationHost and it provides styled templates out of the box.

Installation

dotnet add package Snt.Lib.Wpf.Notifications.WpfUi

Prerequisite: This package depends on Snt.Lib.Wpf (pulled in automatically) and WPF-UI. Your app must apply a WPF-UI theme.

XAML namespace

xmlns:stn="clr-namespace:Snt.Lib.Wpf.Notifications.WpfUi;assembly=Snt.Lib.Wpf.Notifications.WpfUi"

Quick start

Use WpfUiNotificationHost as a drop-in replacement for NotificationHost:

<stn:WpfUiNotificationHost Service="{Binding NotificationService}" />

Customisation

WpfUiNotificationHost carries its templates in the control theme, so there are no public ResourceDictionary keys to merge manually. If you need to customise the visuals, either:

  • use WpfUiNotificationHost directly and override its control template in your app, or
  • use the base NotificationHost and supply your own NotificationTemplate, AcknowledgeableTemplate, and ProgressTemplate.

Severity mapping

NotificationSeverity values are automatically mapped to WPF-UI InfoBarSeverity via the included NotificationSeverityToInfoBarSeverityConverter:

NotificationSeverity InfoBarSeverity
Informational Informational
Success Success
Warning Warning
Error Error

No packages depend on Snt.Lib.Wpf.Notifications.WpfUi.

.NET 10.0

Version Downloads Last updated
0.4.3 1 04/24/2026
0.4.2 1 04/24/2026
0.4.1 1 04/13/2026
0.4.0 1 04/13/2026