New to Telerik UI for BlazorStart a free 30-day trial

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class NotificationModel

Inheritance: objectNotificationModel

Constructors

C#
public NotificationModel()

Properties

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

C#
public bool Closable { get; set; }

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

C#
public int CloseAfter { get; set; }

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.

C#
public object Icon { get; set; }

Defines whether the notification should visualize an icon.

C#
public bool ShowIcon { get; set; }

Defines the text of the notification.

C#
public string Text { get; set; }

Defines ThemeColor of the notification.

C#
public string ThemeColor { get; set; }