Class EntityAction<TItem>
Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
EntityAction<TItem>
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
Inherited Members
Microsoft.AspNetCore.Components.ComponentBase.OnInitialized()
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 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 |
|---|---|
| Microsoft.AspNetCore.Authorization.IAuthorizationService |
Clicked
Declaration
[Parameter]
public EventCallback Clicked { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.EventCallback |
Color
Declaration
[Parameter]
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Blazorise.Color |
ConfirmationMessage
Declaration
[Parameter]
public Func<string> ConfirmationMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Func<TResult><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 |
|---|---|
| System.Threading.Tasks.Task |
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)
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync()
SetDefaultValuesAsync()
Declaration
protected virtual ValueTask SetDefaultValuesAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.ValueTask |
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender