Class RadToastNotification
Represent a toast notification.
Inheritance
Inherited Members
Namespace: Telerik.RadToastNotificationManager
Assembly: Telerik.WinControls.RadToastNotification.dll
Syntax
public class RadToastNotification : INotifyPropertyChanged
Constructors
RadToastNotification()
Default constructor. Creates a generic toast with a random name.
Declaration
public RadToastNotification()
RadToastNotification(RadToastNotification)
Copy constructor
Declaration
public RadToastNotification(RadToastNotification toastNotification)
Parameters
RadToastNotification toastNotification |
RadToastNotification(RadToastTemplateType, String)
Constructor
Declaration
public RadToastNotification(RadToastTemplateType type, string name)
Parameters
RadToastTemplateType type |
System.String
name
Name of the RadToastNotification. Must be unique. |
RadToastNotification(RadToastTemplateType, String, String)
Constructor
Declaration
public RadToastNotification(RadToastTemplateType type, string name, string xml)
Parameters
RadToastTemplateType type |
System.String
name
Name of the RadToastNotification. Must be unique. |
System.String
xml
The body of the RadToastNotification represented as xml. |
Properties
BindingData
Use this to set your binding data as key-value pair. Your binding parameter is the key.
Declaration
public IDictionary<string, string> BindingData { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
|
DeliveryTime
Gets or sets delivery time for scheduled toasts.
Declaration
public DateTimeOffset DeliveryTime { get; set; }
Property Value
System.DateTimeOffset
|
Name
A unique name of the RadToastNotification. Cna be used to identify the RadToastNotification in a RadToastNotificationCollection.
Declaration
public string Name { get; set; }
Property Value
System.String
|
Tag
Gets or sets the unique identifier of this notification.
Declaration
public string Tag { get; set; }
Property Value
System.String
|
TemplateType
The template type of the RadToastNotification.
Declaration
public RadToastTemplateType TemplateType { get; set; }
Property Value
RadToastTemplateType
|
Xml
The body of the RadToastNotification.
Declaration
public string Xml { get; set; }
Property Value
System.String
|
Events
PropertyChanged
PropertyChanged is fired upon changed name.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|