Class NotificationMessage
Represents notification message;
public class NotificationMessage
- Inheritance
-
NotificationMessage
- Inherited Members
Constructors
NotificationMessage(string, string, NotificationType)
Creates new instance of NotificationMessage.
public NotificationMessage(string id, string text, NotificationType type)
Parameters
id
stringNotification id.
text
stringNotification text.
type
NotificationTypeNotification type.
NotificationMessage(string, string, NotificationType, Action)
Creates new instance of NotificationMessage.
public NotificationMessage(string id, string text, NotificationType type, Action action)
Parameters
id
stringNotification id.
text
stringNotification text.
type
NotificationTypeNotification type.
action
ActionAction to be invoked when notification is activated.
Properties
ActivateCommand
Gets command to activate ActivationAction.
public ICommand ActivateCommand { get; }
Property Value
ActivationAction
Gets action to be invoked when notification is activated.
public Action ActivationAction { get; }
Property Value
CloseCommand
public ICommand CloseCommand { get; }
Property Value
Id
Gets notification id.
public string Id { get; }
Property Value
Text
Gets notification content text.
public string Text { get; }
Property Value
Type
Gets notification type.
public NotificationType Type { get; }
Property Value
Events
Activated
Ivokes when ActivationAction is activated.
public event EventHandler Activated
Event Type
Closed
public event EventHandler Closed