Class
ChatTextAreaSettings

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

Definition

Constructors

ChatTextAreaSettings()

Declaration

cs-api-definition
public ChatTextAreaSettings()

Properties

ChatTextAreaEndAffixTemplate

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.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChatTextAreaEndAffixTemplate { get; set; }

Property Value

RenderFragment

ChatTextAreaStartAffixTemplate

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.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChatTextAreaStartAffixTemplate { get; set; }

Property Value

RenderFragment

ChatTextAreaTopAffixTemplate

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.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChatTextAreaTopAffixTemplate { get; set; }

Property Value

RenderFragment

MaxTextAreaHeight

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

Declaration

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

Property Value

string

Mode

Specifies the mode of the prompt box.

Declaration

cs-api-definition
[Parameter]
public PromptBoxMode Mode { get; set; }

Property Value

PromptBoxMode

Rows

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

Declaration

cs-api-definition
[Parameter]
public int Rows { get; set; }

Property Value

int

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

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

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose(bool)

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()