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

Defines the settings of the Chat Receiver Messages.

Definition

Constructors

C#
public ChatReceiverMessageSettings()

Methods

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

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
protected override void OnInitialized()

Overrides: ComponentBase.OnInitialized()

Properties

Defines a render fragment that contains actions for the attachments. Children: ChatFileAction.

C#
[Parameter]
public RenderFragment ChatFileActions { get; set; }

Defines a render fragment that contains message actions. Children: ChatMessageContextMenuAction.

C#
[Parameter]
public RenderFragment ChatMessageContextMenuActions { get; set; }

Defines a render fragment that contains actions for the attachments. Children: ChatMessageToolbarAction.

C#
[Parameter]
public RenderFragment ChatMessageToolbarActions { get; set; }

Enables the collapse functionality for author messages in the chat component. If no value is provided, the global setting from TelerikChat.EnableMessageCollapse will be used.

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

Defines the width mode of the messages in the chat. The available options are:

  1. Standard - Messages will have a width that fits their content.
  2. Full - Messages will take the full width of the chat container.

If no value is provided, the global setting from TelerikChat.MessageWidthMode will be used.

C#
[Parameter]
public MessageWidthMode? MessageWidthMode { get; set; }