ChatTextAreaSettings
Defines the settings of the input text area used inside the Chat.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChatTextAreaSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseChatTextAreaSettings
Implements:
Inherited Members
Constructors
public ChatTextAreaSettings()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
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.
[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.
[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.
[Parameter]
public RenderFragment ChatTextAreaTopAffixTemplate { get; set; }
Maximum height of the text area in the prompt box. Default value is 100px.
[Parameter]
public string MaxTextAreaHeight { get; set; }
Specifies the mode of the prompt box.
[Parameter]
public PromptBoxMode Mode { get; set; }