Skip to content

MHerrmannSOLID/netoaster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netoaster

A .net toaster library for very simple and slightly customizable toaster notifications. Heavily inspired by angular-toastr

alt tag

how to use

  1. Install using nuget or by including the above netoaster project into your WPF app

  2. Call it

ErrorToaster.Toast("My Error Message!");

alt tag

SuccessToaster.Toast("Success message", animation: ToasterAnimation.FadeIn);

alt tag

WarningToaster.Toast("Warning message", ToasterPosition.PrimaryScreenTopRight);

alt tag

  1. Optional parameters (more to come)
    • message - the text to display in the toaster
    • position - the position to show the toaster, like (default is PrimaryScreenBottomRight) * shout out to jublin * PrimaryScreenBottomRight * PrimaryScreenTopRight * PrimaryScreenBottomLeft * PrimaryScreenTopLeft * ApplicationBottomRight * ApplicationTopRight * ApplicationBottomLeft * ApplicationTopLeft
    • animation - the style of the animation * FadeIn * SlideInFromRight (default) * SlideInFromLeft * SlideInFromTop * SlideInFromBottom * GrowFromRight * GrowFromLeft * GrowFromTop * GrowFromBottom
    • margin - the desired distance away from the corner

#To do:

  • add optional colors
  • for feature requests open a new issue

#Contributers

#Concept skeleton of code came from this stackoverflow post by Ray Burns. I customized it to my own needs.

#Contribute feel free to submit pull-requests

About

A .net WPF toaster library for very simple and slightly customizable toaster notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%