/netoaster

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

Primary LanguageC#MIT LicenseMIT

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
ErrorToaster.Toast("My Error Message!");

alt tag

SuccessToaster.Toast("Success message");

alt tag

WarningToaster.Toast("Warning message", "bottomright");

alt tag

  1. Optional parameters (more to come)

    • message - the text to display in the toaster
    • position - the position to show the toaster, like "bottomright" (default is topright)

#To do: * add more positions * add optional colors * add more animations * for feature requests open a new issue

#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