Class
ChatFileAction

Definition

Constructors

ChatFileAction()

Declaration

cs-api-definition
public ChatFileAction()

Properties

Disabled

Whether the action is enabled.

Declaration

cs-api-definition
[Parameter]
public bool Disabled { get; set; }

Property Value

bool

Icon

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.

Declaration

cs-api-definition
[Parameter]
public object Icon { get; set; }

Property Value

object

Id

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

Declaration

cs-api-definition
[Parameter]
public string Id { get; set; }

Property Value

string

Name

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.

Declaration

cs-api-definition
[Parameter]
public string Name { get; set; }

Property Value

string

OnClick

The click handler of the action.

Declaration

cs-api-definition
[Parameter]
public EventCallback<ChatFileActionClickEventArgs> OnClick { get; set; }

Property Value

EventCallback<ChatFileActionClickEventArgs>

Text

The text of the item.

Declaration

cs-api-definition
[Parameter]
public string Text { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()