Summary
Syntax
public Notification(string title, string message, NotificationType type = Information, TimeSpan? expiration = null, Action onClick = null, Action onClose = null)
Parameters
Name |
Type |
Description |
title |
string |
The title of the notification. |
message |
string |
The message to be displayed in the notification. |
type |
NotificationType |
The NotificationType of the notification. |
expiration |
TimeSpan? |
The expiry time at which the notification will close.
Use System.TimeSpan.Zero for notifications that will remain open. |
onClick |
Action |
An Action to call when the notification is clicked. |
onClose |
Action |
An Action to call when the notification is closed. |
Return Value