Class TelerikNotification
The class for the Telerik Notification component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikNotification : BaseComponent, IDisposable
Constructors
TelerikNotification()
Declaration
public TelerikNotification()
Properties
AnimationDuration
Defines the Duration of the animation for showing and hiding notifications.
Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32
|
AnimationType
Defines the Animation type for showing and hiding notifications.
Declaration
public AnimationType AnimationType { get; set; }
Property Value
AnimationType
|
AriaLabel
Describe the aria-label attribute for the component.
Declaration
public string AriaLabel { get; set; }
Property Value
System.String
|
HorizontalPosition
Defines the Horizontal Position of the Notifications.
Declaration
public NotificationHorizontalPosition HorizontalPosition { get; set; }
Property Value
NotificationHorizontalPosition
|
Template
Defines the Template for the notifications.
Declaration
public RenderFragment<NotificationModel> Template { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<NotificationModel>
|
VerticalPosition
Defines the Vertical Position of the Notifications.
Declaration
public NotificationVerticalPosition VerticalPosition { get; set; }
Property Value
NotificationVerticalPosition
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Hide(NotificationModel)
Hide a notification.
Declaration
public void Hide(NotificationModel model)
Parameters
NotificationModel
model
|
HideAll()
Hide all notifications.
Declaration
public void HideAll()
Show(String, String)
Shows new notification.
Declaration
public void Show(string text, string themeColor)
Parameters
System.String
text
|
System.String
themeColor
|
Show(NotificationModel)
Shows new notification.
Declaration
public void Show(NotificationModel model)
Parameters
NotificationModel
model
|