Class UiNotificationAlert
Inheritance
UiNotificationAlert
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
public class UiNotificationAlert : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
UiNotificationAlert()
Declaration
public UiNotificationAlert()
Properties
Closed
Declaration
[Parameter]
public EventCallback Closed { get; set; }
Property Value
Message
Declaration
[Parameter]
public string Message { get; set; }
Property Value
NotificationType
Declaration
[Parameter]
public UiNotificationType NotificationType { get; set; }
Property Value
Okayed
Declaration
[Parameter]
public EventCallback Okayed { get; set; }
Property Value
Options
Declaration
[Parameter]
public UiNotificationOptions? Options { get; set; }
Property Value
SnackbarStack
Declaration
protected SnackbarStack SnackbarStack { get; set; }
Property Value
Type |
Description |
SnackbarStack |
|
StringLocalizerFactory
Declaration
[Inject]
protected IStringLocalizerFactory StringLocalizerFactory { get; set; }
Property Value
Title
Declaration
[Parameter]
public string? Title { get; set; }
Property Value
UiNotificationService
Declaration
[Inject]
protected BlazoriseUiNotificationService? UiNotificationService { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
Dispose()
Declaration
public virtual void Dispose()
GetSnackbarColor(UiNotificationType)
Declaration
protected virtual SnackbarColor GetSnackbarColor(UiNotificationType notificationType)
Parameters
Returns
Type |
Description |
SnackbarColor |
|
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnNotificationReceived(object?, UiNotificationEventArgs)
Declaration
protected virtual void OnNotificationReceived(object? sender, UiNotificationEventArgs e)
Parameters
OnSnackbarClosed(SnackbarClosedEventArgs)
Declaration
protected virtual Task OnSnackbarClosed(SnackbarClosedEventArgs eventArgs)
Parameters
Type |
Name |
Description |
SnackbarClosedEventArgs |
eventArgs |
|
Returns
Implements
Extension Methods