New to Telerik UI for BlazorStart a free 30-day trial

Definition

Constructors

C#
public ChatFileAction()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected override void OnInitialized()

Overrides: ComponentBase.OnInitialized()

Properties

Whether the action is enabled.

C#
[Parameter]
public bool Disabled { get; set; }

Specifies the icon rendered in the action item. You can use either a predefined Telerik Icon or a custom one. Refer to Icons - Documentation for more information on how icons work.

C#
[Parameter]
public object Icon { get; set; }

Defines the ID of the Action. If not set, a new Guid will be generated.

C#
[Parameter]
public string Id { get; set; }

Defines the name of the Action. Used to identify the action. The predefined actions have specific names. The predefined names are:

  1. "Download" - used for the download action.
C#
[Parameter]
public string Name { get; set; }

The click handler of the action.

C#
[Parameter]
public EventCallback<ChatFileActionClickEventArgs> OnClick { get; set; }

The text of the item.

C#
[Parameter]
public string Text { get; set; }