Toaster.NET
1.0.0
dotnet add package Toaster.NET --version 1.0.0
NuGet\Install-Package Toaster.NET -Version 1.0.0
<PackageReference Include="Toaster.NET" Version="1.0.0" />
paket add Toaster.NET --version 1.0.0
#r "nuget: Toaster.NET, 1.0.0"
// Install Toaster.NET as a Cake Addin #addin nuget:?package=Toaster.NET&version=1.0.0 // Install Toaster.NET as a Cake Tool #tool nuget:?package=Toaster.NET&version=1.0.0
Introduction
The library let's you to create in app based notifications just like Android Studio. First implementation of this library can be found in this project. Watch video tutorial here.
Key Notes
Remember to set flag fixlowerdpi=true
when programming on higher dpi machines like Win10. See 4th example below.
Usage Notes
- Creating a general toast
Toast.show(this, "Demo Title", "Hey there, this is a demo toast", ToastType.INFO,ToastDuration.SHORT);
- Creating an error toast
Toast.show(this, "Demo Title", "Hey there, this is a demo toast", ToastType.ERROR,ToastDuration.LONG);
- Creating a dark themed toast
Toast.show(this, "Demo Title", "Hey there, this is a demo toast", ToastType.INFO,ToastDuration.SHORT,ToastTheme.DARK);
- Create a fixed dpi toast
When you create a winform project in windows 10, visual studio adds an autoscale dimensions based on your dpi resolution. Due to this when the same application is run on low dpi PCs creates a blurry look as the autoscaling controls stretched out a bit. For such encounters set the last flag 'fixlowerdpi' to true (example below).
Toast.show(this, "Demo Title", "Hey there, this is a demo toast", ToastType.INFO,ToastDuration.SHORT,ToastTheme.LIGHT,true);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,959 | 2/5/2019 |
Initial release