Class
NotificationModel

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class NotificationModel

Inheritance: objectNotificationModel

Constructors

NotificationModel()

Declaration

cs-api-definition
public NotificationModel()

Properties

Closable

Defines whether the notification can be closed manually. Defaults to true.

Declaration

cs-api-definition
public bool Closable { get; set; }

Property Value

bool

CloseAfter

Defines when the notification will be closed automatically. Set 0 if you don't want to be automatically closed. Defaults to 5000ms.

Declaration

cs-api-definition
public int CloseAfter { get; set; }

Property Value

int

Icon

Specifies the icon rendered in the notification. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.

Declaration

cs-api-definition
public object Icon { get; set; }

Property Value

object

ShowIcon

Defines whether the notification should visualize an icon.

Declaration

cs-api-definition
public bool ShowIcon { get; set; }

Property Value

bool

Text

Defines the text of the notification.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

ThemeColor

Defines ThemeColor of the notification.

Declaration

cs-api-definition
public string ThemeColor { get; set; }

Property Value

string