A straightforward C#/WPF service for displaying toast messages!
TurtleToast.Information("Turtle toast!");
- 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!");
- 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
-
TurtleToast.Information("Information toast");
Hides after time calculated off the length of the text.
-
TurtleToast.Confirmation("Confirmation toast");
Hides after the button is clicked.
-
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.
-