NotificationModel
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class NotificationModel
Inheritance: objectNotificationModel
Constructors
public NotificationModel()
Properties
Defines whether the notification can be closed manually. Defaults to true.
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.
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.
public object Icon { get; set; }
Specifies the SVG variant for Icon. When the value is null, empty, or unsupported, the icon's default SVG content is rendered. Font and custom CSS icons are unaffected.
public string IconVariant { get; set; }
Defines whether the notification should visualize an icon.
public bool ShowIcon { get; set; }
Defines ThemeColor of the notification.
public string ThemeColor { get; set; }