Class NotificationMessage.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class NotificationMessageGets or sets the click event.
public Action<NotificationMessage> Click { get; set; }
| Type | Description |
|---|---|
| Action<NotificationMessage> | Gets or sets the click event. |
Get or set the event for when the notification is closed
public Action<NotificationMessage> Close { get; set; }
| Type | Description |
|---|---|
| Action<NotificationMessage> | Get or set the event for when the notification is closed |
Gets or sets the close button aria-label.
public string CloseAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the close button aria-label. |
Gets or sets click on close action.
public bool CloseOnClick { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets click on close action. |
Gets or sets the detail.
public string Detail { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the detail. |
Gets or sets the detail content.
public RenderFragment<NotificationService> DetailContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment<NotificationService> | Gets or sets the detail content. |
Gets or sets the duration.
public double? Duration { get; set; }
| Type | Description |
|---|---|
| double? | Gets or sets the duration. |
Gets or sets notification payload.
public object Payload { get; set; }
| Type | Description |
|---|---|
| object | Gets or sets notification payload. |
Gets or sets the severity.
public NotificationSeverity Severity { get; set; }
| Type | Description |
|---|---|
| NotificationSeverity | Gets or sets the severity. |
Gets or sets if progress should be shown during duration.
public bool ShowProgress { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets if progress should be shown during duration. |
Gets or sets the style.
public string Style { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the style. |
Gets or sets the summary.
public string Summary { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the summary. |
Gets or sets the summary content.
public RenderFragment<NotificationService> SummaryContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment<NotificationService> | Gets or sets the summary content. |
Check if NotificationMessage instance is equal to current instance.
public bool Equals(NotificationMessage other)
| Type | Name | Description |
|---|---|---|
| NotificationMessage | other |
| Type | Description |
|---|---|
| bool |
Check if NotificationMessage instance is equal to current instance.
public override bool Equals(object obj)
| Type | Name | Description |
|---|---|---|
| object | obj |
| Type | Description |
|---|---|
| bool |
Return a hash code for the current object
public override int GetHashCode()
| Type | Description |
|---|---|
| int |
public static bool operator !=(NotificationMessage message, NotificationMessage otherMessage)
| Type | Name | Description |
|---|---|---|
| NotificationMessage | message | |
| NotificationMessage | otherMessage |
| Type | Description |
|---|---|
| bool |
public static bool operator ==(NotificationMessage message, NotificationMessage otherMessage)
| Type | Name | Description |
|---|---|---|
| NotificationMessage | message | |
| NotificationMessage | otherMessage |
| Type | Description |
|---|---|
| bool |