Class NotificationModel
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class NotificationModel : Object
Constructors
NotificationModel()
Declaration
public NotificationModel()
Properties
Closable
Defines whether the notification can be closed manually. Defaults to true.
Declaration
public bool Closable { get; set; }
Property Value
System.Boolean
|
CloseAfter
Defines when the notification will be closed automatically. Set 0 if you don't want to be automatically closed. Defaults to 5000ms.
Declaration
public int CloseAfter { get; set; }
Property Value
System.Int32
|
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
public object Icon { get; set; }
Property Value
System.Object
|
ShowIcon
Defines whether the notification should visualize an icon.
Declaration
public bool ShowIcon { get; set; }
Property Value
System.Boolean
|
Text
Defines the text of the notification.
Declaration
public string Text { get; set; }
Property Value
System.String
|
ThemeColor
Defines ThemeColor of the notification.
Declaration
public string ThemeColor { get; set; }
Property Value
System.String
|