ClassTelerikNotification
The class for the Telerik Notification component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikNotification : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikNotification
Implements:
Inherited Members
Constructors
TelerikNotification()
Declaration
public TelerikNotification()
Properties
AnimationDuration
Defines the Duration of the animation for showing and hiding notifications.
Declaration
[Parameter]
public int AnimationDuration { get; set; }
Property Value
AnimationType
Defines the Animation type for showing and hiding notifications.
Declaration
[Parameter]
public AnimationType AnimationType { get; set; }
Property Value
AriaLabel
Describe the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
HorizontalPosition
Defines the Horizontal Position of the Notifications.
Declaration
[Parameter]
public NotificationHorizontalPosition HorizontalPosition { get; set; }
Property Value
Template
Defines the Template for the notifications.
Declaration
[Parameter]
public RenderFragment<NotificationModel> Template { get; set; }
Property Value
VerticalPosition
Defines the Vertical Position of the Notifications.
Declaration
[Parameter]
public NotificationVerticalPosition VerticalPosition { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Hide(NotificationModel)
Hide a notification.
Declaration
public void Hide(NotificationModel model)
Parameters
model
Show(NotificationModel)
Shows new notification.
Declaration
public void Show(NotificationModel model)
Parameters
model
Show(string, string)
Shows new notification.