Show / Hide Table of Contents

Class UiMessageAlert

Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
UiMessageAlert
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.IDisposable
Inherited Members
Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSet()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSetAsync()
Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()
Microsoft.AspNetCore.Components.ComponentBase.ShouldRender()
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool)
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRenderAsync(bool)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Action)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func<System.Threading.Tasks.Task>)
Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
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
System.Threading.Tasks.TaskCompletionSource<TResult><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
Microsoft.AspNetCore.Components.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
Microsoft.AspNetCore.Components.EventCallback

IsConfirmation

Declaration
protected virtual bool IsConfirmation { 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
Blazorise.Modal

Okayed

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

OkButtonText

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

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
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
Overrides
Microsoft.AspNetCore.Components.ComponentBase.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)

Dispose()

Declaration
public void Dispose()

OnCancelClicked()

Declaration
protected Task OnCancelClicked()
Returns
Type Description
System.Threading.Tasks.Task

OnConfirmClicked()

Declaration
protected Task OnConfirmClicked()
Returns
Type Description
System.Threading.Tasks.Task

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
Microsoft.AspNetCore.Components.ComponentBase.OnInitialized()

OnModalClosing(ModalClosingEventArgs)

Declaration
protected virtual Task OnModalClosing(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
Blazorise.ModalClosingEventArgs eventArgs
Returns
Type Description
System.Threading.Tasks.Task

OnOkClicked()

Declaration
protected Task OnOkClicked()
Returns
Type Description
System.Threading.Tasks.Task

ShowMessageAlert()

Declaration
protected virtual Task ShowMessageAlert()
Returns
Type Description
System.Threading.Tasks.Task

Implements

Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft