Show / Hide Table of Contents

Class EntityAction<TItem>

Inheritance
object
ComponentBase
EntityAction<TItem>
Implements
IComponent
IHandleEvent
IHandleAfterRender
Inherited Members
ComponentBase.OnInitialized()
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 EntityAction<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Type Parameters
Name Description
TItem

Constructors

EntityAction()

Declaration
public EntityAction()

Properties

AuthorizationService

Declaration
[Inject]
protected IAuthorizationService AuthorizationService { get; set; }
Property Value
Type Description
IAuthorizationService

Clicked

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

Color

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

ConfirmationMessage

Declaration
[Parameter]
public Func<string>? ConfirmationMessage { get; set; }
Property Value
Type Description
Func<string>

Disabled

Declaration
[Parameter]
public bool Disabled { get; set; }
Property Value
Type Description
bool

Icon

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

ParentActions

Declaration
[CascadingParameter]
public EntityActions<TItem> ParentActions { get; set; }
Property Value
Type Description
EntityActions<TItem>

Primary

Declaration
[Parameter]
public bool Primary { get; set; }
Property Value
Type Description
bool

RequiredPolicy

Declaration
[Parameter]
[Obsolete("Use Visible to hide actions based on permissions. Check the permission yourself. It is more performant. This option might be removed in future versions.")]
public string? RequiredPolicy { get; set; }
Property Value
Type Description
string

Text

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

UiMessageService

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

Visible

Declaration
[Parameter]
public bool Visible { get; set; }
Property Value
Type Description
bool

Methods

ActionClickedAsync()

Declaration
protected virtual Task ActionClickedAsync()
Returns
Type Description
Task

BuildRenderTree(RenderTreeBuilder)

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

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

SetDefaultValuesAsync()

Declaration
protected virtual ValueTask SetDefaultValuesAsync()
Returns
Type Description
ValueTask

Implements

IComponent
IHandleEvent
IHandleAfterRender

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