ClassTelerikTextArea
The Telerik TextArea component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikTextArea : TextBoxBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikInputBase<string>TextBoxBaseTelerikTextArea
Implements:
Inherited Members
Constructors
TelerikTextArea()
Declaration
public TelerikTextArea()
Properties
AdornmentsFlow
Specifies the positioning of the elements (adornments) in the prefix and suffix templates of the TelerikTextArea component. The possible values are: Horizontal (default) - the elements within the prefix and suffix templates will be ordered in a row. Vertical - the elements within the prefix and suffix templates will be ordered in a column.
Declaration
[Parameter]
public TextAreaAdornmentsFlow AdornmentsFlow { get; set; }
Property Value
AdornmentsOrientation
Specifies the flow of the prefix and suffix templates of the TelerikTextArea component. The possible values are: Horizontal (default) - the prefix and suffix templates will be arranged in a row, with the text area positioned between them. Vertical - the prefix and suffix templates will be arranged in a column, with the text area positioned between them.
Declaration
[Parameter]
public TextAreaAdornmentsOrientation AdornmentsOrientation { get; set; }
Property Value
AutoComplete
[Accessibility] Defines the autocomplete HTML attribute of the component.
Declaration
[Parameter]
public string AutoComplete { get; set; }
Property Value
Cols
Sets the cols attribute of the textarea.
EnableWebMcpTools
Enables WebMCP tool registration for this TextArea.
When true, TextArea operations are exposed as tools discoverable by AI models through the browser.
Default value is false.
Declaration
[Parameter]
public bool EnableWebMcpTools { get; set; }
Property Value
FillMode
Specifies the fill mode of the TextArea.
Declaration
[Parameter]
public override string FillMode { get; set; }
Property Value
Overrides
MaxLength
Sets the maxlength attribute of the textarea.
ResizeMode
Specifies the TextArea's resize behavior. Default behavior is the one set by the browser.
Declaration
[Parameter]
public TextAreaResizeMode? ResizeMode { get; set; }
Property Value
Rounded
Specifies the roundness of the TextArea.
Declaration
[Parameter]
public override string Rounded { get; set; }
Property Value
Overrides
Rows
Sets the rows attribute of the textarea.
ShowPrefixSeparator
Defines whether the prefix separator should be shown. The default value is true.
Declaration
[Parameter]
public bool ShowPrefixSeparator { get; set; }
Property Value
ShowSuffixSeparator
Defines whether the suffix separator should be shown. The default value is true.
Declaration
[Parameter]
public bool ShowSuffixSeparator { get; set; }
Property Value
Size
Specifies the Size of the text TextArea.
Declaration
[Parameter]
public override string Size { get; set; }
Property Value
Overrides
TextAreaPrefixTemplate
The content of the TextArea prefix.
Declaration
[Parameter]
public RenderFragment TextAreaPrefixTemplate { get; set; }
Property Value
TextAreaSettings
Provides configuration for WebMCP tools, such as a Name to distinguish this TextArea from others on the same page.
Declaration
[Parameter]
public RenderFragment TextAreaSettings { get; set; }
Property Value
TextAreaSuffixTemplate
The content of the TextArea suffix.
Declaration
[Parameter]
public RenderFragment TextAreaSuffixTemplate { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides