TurtleToastService.Service
1.1.2
dotnet add package TurtleToastService.Service --version 1.1.2
NuGet\Install-Package TurtleToastService.Service -Version 1.1.2
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="TurtleToastService.Service" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TurtleToastService.Service" Version="1.1.2" />
<PackageReference Include="TurtleToastService.Service" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TurtleToastService.Service --version 1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TurtleToastService.Service, 1.1.2"
#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.
#:package TurtleToastService.Service@1.1.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TurtleToastService.Service&version=1.1.2
#tool nuget:?package=TurtleToastService.Service&version=1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TurtleToastService
A straightforward C#/WPF service for displaying toast messages!
TurtleToast.Information("Turtle toast!");
Usage
- Add the latest package from nuget to your project
- Add the reference to the service in your MainWindow.xaml:
xmlns:TurtleToast="clr-namespace:TurtleToastService.Service.ToastHost;assembly=TurtleToastService.Service"
- Place the toast control in your desired place:
<TurtleToast:ToastHostView/>
- That's all! The toast can be verified with your first message, from anywhere in your project:
TurtleToast.Information("I'm alive!");
Key features
- Built-in queue system with a priority mechanism
- 4 themes with easy customizability
Light | StoneGrey | Dark | TurtleGreen |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- 3 different types of toast messages with a straight-forward expandability
Information toast
TurtleToast.Information("Information toast");
Hides after time calculated off the length of the text.
Confirmation toast
TurtleToast.Confirmation("Confirmation toast");
Hides after the button is clicked.
Loading toast
TurtleToast.Loading("Loading toast", "This can take a while", 5, displayMode: ProgressDisplayMode.CountAndPercentage);
Shows the progress with multiple display options. Can increment automatically when attached to an event.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows7.0
- CrossUtilities (>= 1.0.0)
- CrossUtilitiesWPF (>= 1.0.0)
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.122)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.