Skip to content

mooshmore/TurtleToastService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service logo

NuGet Version

TurtleToastService

A straightforward C#/WPF service for displaying toast messages!

TurtleToast.Information("Turtle toast!");

Toast message example


Usage

  1. Add the latest package from nuget to your project
  2. Add the reference to the service in your MainWindow.xaml:
xmlns:TurtleToast="clr-namespace:TurtleToastService.Service.ToastHost;assembly=TurtleToastService.Service"
  1. Place the toast control in your desired place:
<TurtleToast:ToastHostView/>
  1. 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
Light theme Stone grey theme Dark theme Turtle green theme
  • 3 different types of toast messages with a straight-forward expandability
    • Information toast

      Information toast

      TurtleToast.Information("Information toast");

      Hides after time calculated off the length of the text.

    • Confirmation toast

      Confirmation toast

      TurtleToast.Confirmation("Confirmation toast");

      Hides after the button is clicked.

    • Loading toast

      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.

About

A straightforward C#/WPF service for displaying toast messages!

Topics

Resources

License

Stars

Watchers

Forks

Languages