Class WindowsToastBootstrapper
Helper to bootstrap native Windows toasts and manage Start Menu shortcut/AUMID lifecycle.
Inheritance
System.Object
WindowsToastBootstrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.SfToastNotification
Assembly: Syncfusion.SfToastNotification.WPF.dll
Syntax
public static class WindowsToastBootstrapper
Properties
RemoveShortcutOnUnload
If true, shortcut will be removed on application's dispatcher shutdown finished.
Declaration
public static bool RemoveShortcutOnUnload { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Methods
Initialize(String, String)
Initializes native toast support for the current process using the provided AppUserModelID and ensures a Start Menu shortcut exists for the application.
Declaration
public static void Initialize(string appUserModelId, string appDisplayName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appUserModelId | Application User Model ID to associate with native toasts. |
| System.String | appDisplayName | Display name used for the Start Menu shortcut. |