Show / Hide Table of Contents

Class UiMessageAlert

Inheritance
object
ComponentBase
UiMessageAlert
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlazoriseUI.Components
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
public class UiMessageAlert : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

UiMessageAlert()

Declaration
public UiMessageAlert()

Properties

Callback

Declaration
[Parameter]
public TaskCompletionSource<bool>? Callback { get; set; }
Property Value
Type Description
TaskCompletionSource<bool>

CancelButtonText

Declaration
protected virtual string CancelButtonText { get; }
Property Value
Type Description
string

Canceled

Declaration
[Parameter]
public EventCallback Canceled { get; set; }
Property Value
Type Description
EventCallback

CenterMessage

Declaration
protected virtual bool CenterMessage { get; }
Property Value
Type Description
bool

ConfirmButtonText

Declaration
protected virtual string ConfirmButtonText { get; }
Property Value
Type Description
string

Confirmed

Declaration
[Parameter]
public EventCallback Confirmed { get; set; }
Property Value
Type Description
EventCallback

IsConfirmation

Declaration
protected virtual bool IsConfirmation { get; }
Property Value
Type Description
bool

IsMessageHtmlMarkup

Declaration
protected virtual bool IsMessageHtmlMarkup { get; }
Property Value
Type Description
bool

Message

Declaration
[Parameter]
public string Message { get; set; }
Property Value
Type Description
string

MessageIcon

Declaration
protected virtual object? MessageIcon { get; }
Property Value
Type Description
object

MessageIconColor

Declaration
protected virtual string? MessageIconColor { get; }
Property Value
Type Description
string

MessageIconStyle

Declaration
protected virtual string MessageIconStyle { get; }
Property Value
Type Description
string

MessageType

Declaration
[Parameter]
public UiMessageType MessageType { get; set; }
Property Value
Type Description
UiMessageType

ModalRef

Declaration
protected Modal ModalRef { get; set; }
Property Value
Type Description
Modal

OkButtonText

Declaration
protected virtual string OkButtonText { get; }
Property Value
Type Description
string

Okayed

Declaration
[Parameter]
public EventCallback Okayed { get; set; }
Property Value
Type Description
EventCallback

Options

Declaration
[Parameter]
public UiMessageOptions? Options { get; set; }
Property Value
Type Description
UiMessageOptions

ShowMessageIcon

Declaration
protected virtual bool ShowMessageIcon { get; }
Property Value
Type Description
bool

Title

Declaration
[Parameter]
public string? Title { get; set; }
Property Value
Type Description
string

UiMessageService

Declaration
[Inject]
protected BlazoriseUiMessageService? UiMessageService { get; set; }
Property Value
Type Description
BlazoriseUiMessageService

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration
public void Dispose()

OnCancelClicked()

Declaration
protected Task OnCancelClicked()
Returns
Type Description
Task

OnConfirmClicked()

Declaration
protected Task OnConfirmClicked()
Returns
Type Description
Task

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
ComponentBase.OnInitialized()

OnModalClosing(ModalClosingEventArgs)

Declaration
protected virtual Task OnModalClosing(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

OnOkClicked()

Declaration
protected Task OnOkClicked()
Returns
Type Description
Task

ShowMessageAlert()

Declaration
protected virtual Task ShowMessageAlert()
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform