Class NotificationMessage
Class NotificationMessage.
Inheritance
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class NotificationMessage : object
Properties
Click
Gets or sets the click event.
Declaration
public Action<NotificationMessage> Click { get; set; }
Property Value
Type | Description |
---|---|
Action<NotificationMessage> | This event handler is called when the notification is clicked on. |
Close
Get or set the event for when the notification is closed
Declaration
public Action<NotificationMessage> Close { get; set; }
Property Value
Type | Description |
---|---|
Action<NotificationMessage> |
CloseOnClick
Gets or sets click on close action.
Declaration
public bool CloseOnClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, then the notification will be closed when clicked on. |
Detail
Gets or sets the detail.
Declaration
public string Detail { get; set; }
Property Value
Type | Description |
---|---|
System.String | The detail. |
Duration
Gets or sets the duration.
Declaration
public double? Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The duration. |
Payload
Gets or sets notification payload.
Declaration
public object Payload { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Used to store a custom payload that can be retreived later in the click event handler. |
Severity
Gets or sets the severity.
Declaration
public NotificationSeverity Severity { get; set; }
Property Value
Type | Description |
---|---|
NotificationSeverity | The severity. |
Style
Gets or sets the style.
Declaration
public string Style { get; set; }
Property Value
Type | Description |
---|---|
System.String | The style. |
Summary
Gets or sets the summary.
Declaration
public string Summary { get; set; }
Property Value
Type | Description |
---|---|
System.String | The summary. |