ClassChatTextAreaSettings
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
ChatTextAreaSettings()
Declaration
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
[Parameter]
public RenderFragment ChatTextAreaEndAffixTemplate { get; set; }
Property Value
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
[Parameter]
public RenderFragment ChatTextAreaStartAffixTemplate { get; set; }
Property Value
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
[Parameter]
public RenderFragment ChatTextAreaTopAffixTemplate { get; set; }
Property Value
MaxTextAreaHeight
Maximum height of the text area in the prompt box. Default value is 100px.
Declaration
[Parameter]
public string MaxTextAreaHeight { get; set; }
Property Value
Mode
Specifies the mode of the prompt box.
Declaration
[Parameter]
public PromptBoxMode Mode { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
disposing
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides