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

Defines the settings of the input text area used inside the Chat.

Definition

Constructors

C#
public ChatTextAreaSettings()

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()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

Properties

Template rendered after the input area (end/suffix position). Use for custom action buttons or status indicators positioned at the end. Content renders before the built-in speech-to-text and action buttons.

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

Template rendered before the input area (start/prefix position). Use for icons, buttons, or context labels positioned at the start. In single-line mode the content appears on the left. In multi-line mode it moves to the bottom-left.

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

Template rendered above the input area (top position). Use for headings, helper text, or suggestion chips shown above the prompt box. Only visible when the prompt box is in multi-line mode.

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

Maximum height of the text area in the prompt box. Default value is 100px.

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

Specifies the mode of the prompt box.

C#
[Parameter]
public PromptBoxMode Mode { get; set; }

Specifies the number of minimum rows in the text area of the prompt box applicable when user enters Auto/Multiple mode.

C#
[Parameter]
public int Rows { get; set; }