All Projects → mrousavy → Toast

mrousavy / Toast

Licence: MIT license
🍞 The rounded and animated Android Toast for .NET WPF/XAML

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to Toast

Materialdesigninxamltoolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
Stars: ✭ 11,603 (+46312%)
Mutual labels:  xaml, wpf
Fluent.ribbon
WPF Ribbon control like in Office
Stars: ✭ 1,895 (+7480%)
Mutual labels:  xaml, wpf
Arcgis Toolkit Dotnet
Toolkit for ArcGIS Runtime SDK for .NET
Stars: ✭ 125 (+400%)
Mutual labels:  xaml, wpf
Wpftoolkit
All the controls missing in WPF. Over 1 million downloads.
Stars: ✭ 2,970 (+11780%)
Mutual labels:  xaml, wpf
Code Samples
Just some code samples for MahApps and other experiments...
Stars: ✭ 205 (+720%)
Mutual labels:  xaml, wpf
Xaml Code Experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Stars: ✭ 114 (+356%)
Mutual labels:  xaml, wpf
Steamtools
🛠「Steam++」是一个开源跨平台的多功能Steam工具箱。
Stars: ✭ 4,458 (+17732%)
Mutual labels:  xaml, wpf
Xamarin Forms Gtk Movies Sample
The Movie DB Xamarin.Forms Sample
Stars: ✭ 83 (+232%)
Mutual labels:  xaml, wpf
Gridextra
Custom panel controls for WPF/UWP.
Stars: ✭ 149 (+496%)
Mutual labels:  xaml, wpf
Aiforms.dialogs
AiForms.Dialogs for Xamarin.Forms
Stars: ✭ 143 (+472%)
Mutual labels:  xaml, toast
Snoopwpf
Snoop - The WPF Spy Utility
Stars: ✭ 1,286 (+5044%)
Mutual labels:  xaml, wpf
Handycontrol
Contains some simple and commonly used WPF controls
Stars: ✭ 3,349 (+13296%)
Mutual labels:  xaml, wpf
Simplewpfreporting
Reporting in WPF (XAML) made easy
Stars: ✭ 87 (+248%)
Mutual labels:  xaml, wpf
Aura.ui
A Library with a lot of Controls for AvaloniaUI
Stars: ✭ 114 (+356%)
Mutual labels:  xaml, wpf
Xamlviewer
XAML Viewer is a lightweight XAML editor.
Stars: ✭ 87 (+248%)
Mutual labels:  xaml, wpf
Forge.forms
Dynamically generated forms and dialogs in WPF
Stars: ✭ 131 (+424%)
Mutual labels:  xaml, wpf
Wpfbindingerrors
💥 Turn WPF Binding errors into exception
Stars: ✭ 73 (+192%)
Mutual labels:  xaml, wpf
Reactivehistory
Reactive undo/redo framework for .NET.
Stars: ✭ 82 (+228%)
Mutual labels:  xaml, wpf
Mvvmvalidation
Lightweight library that helps reduce boilerplate when implementing validation in XAML MVVM applications
Stars: ✭ 141 (+464%)
Mutual labels:  xaml, wpf
Modernwpf
Modern styles and controls for your WPF applications
Stars: ✭ 2,610 (+10340%)
Mutual labels:  xaml, wpf

Toast

Android Toast for WPF

Download the Demo (.exe)

NuGet

Buy Me a Coffee at ko-fi.com

How to use

1. Add Binaries

2. Add the reference

  • XAML Window
<Window x:Class="ToastDemo.MainWindow"
     [...]
     ----IMPORTANT LINE!----
     xmlns:toast="clr-namespace:Toast;assembly=Toast"
     [...] >
  • C# (using)
using Toast;
  • VB (using)
Imports Toast

3. Add Toast to Window/User Control

  • XAML
<toast:Toast x:Name="myToast" Message="Hello World!" Duration="0:0:0:5"/>
  • C#
// (Or in code)
Toast myToast = new Toast();
myToast.DurationToast = Toast.Toast.ToastDuration.Long;
myToast.Message = "Hello World!";

someControl.Children.Add(myToast);
someOtherControl.Content = myToast;

4. Set desired Parameters

  • Toast.Duration/Toast.DurationToast: The display-time of this Toast
  • Toast.Message/Toast.Content: The Message to display (Can also be a {Binding})
  • Toast.DurationAnimation: The duration of the fade-in/out animation

5. Show Toast

myToast.Show();

6. (Optional) Hide Toast manually:

myToast.Hide();

Screenshots

Thanks for using Toast!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].