Mileeena.Notification.Avalonia 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mileeena.Notification.Avalonia --version 2.1.0
NuGet\Install-Package Mileeena.Notification.Avalonia -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mileeena.Notification.Avalonia" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mileeena.Notification.Avalonia --version 2.1.0
#r "nuget: Mileeena.Notification.Avalonia, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mileeena.Notification.Avalonia as a Cake Addin
#addin nuget:?package=Mileeena.Notification.Avalonia&version=2.1.0

// Install Mileeena.Notification.Avalonia as a Cake Tool
#tool nuget:?package=Mileeena.Notification.Avalonia&version=2.1.0

Notification.Avalonia

Port of this repo


To start you should install NuGet package

Install-Package Notification.Avalonia

nuget or download https://www.nuget.org/packages/Notification.Avalonia/ repo.


alternate text is missing from this package README image


For use:

  1. Add style in App.xaml
<Application.Styles>
        ...
    <StyleInclude Source="avares://Notification.Avalonia/Themes/Generic.xaml" />
</Application.Styles>

  1. Add notification panel in your window
 <Border Grid.Column="1">
       <controls:NotificationMessageContainer Manager="{Binding Manager}" />
 </Border>
  1. Bind manager from vm
 public INotificationMessageManager Manager { get; } = new NotificationMessageManager();
  1. Run notification
            this.Manager
                .CreateMessage()
                .Accent("#1751C3")
                .Animates(true)
                .Background("#333")
                .HasBadge("Info")
                .HasMessage(
                    "Update will be installed on next application restart. This message will be dismissed after 5 seconds.")
                .Dismiss().WithButton("Update now", button => { })
                .Dismiss().WithButton("Release notes", button => { })
                .Dismiss().WithDelay(TimeSpan.FromSeconds(5))
                .Queue();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.2 546 3/4/2024
2.1.1 104 3/3/2024
2.1.0 98 3/3/2024