Class RadzenTextArea
RadzenTextArea component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenTextArea : FormComponent<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
Examples
<RadzenTextArea Cols="30" Rows="3" @bind-Value=@value Change=@(args => Console.WriteLine($"Value: {args}")) />
Constructors
RadzenTextArea()
RadzenTextArea component.
Declaration
public RadzenTextArea()
Examples
<RadzenTextArea Cols="30" Rows="3" @bind-Value=@value Change=@(args => Console.WriteLine($"Value: {args}")) />
Properties
Cols
Gets or sets the number of cols.
Declaration
[Parameter]
public int Cols { get; set; }
Property Value
Type | Description |
---|---|
int | The number of cols. |
MaxLength
Gets or sets the maximum length.
Declaration
[Parameter]
public long? MaxLength { get; set; }
Property Value
Type | Description |
---|---|
long? | The maximum length. |
ReadOnly
Gets or sets a value indicating whether is read only.
Declaration
[Parameter]
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Rows
Gets or sets the number of rows.
Declaration
[Parameter]
public int Rows { get; set; }
Property Value
Type | Description |
---|---|
int | The number of rows. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenTextArea component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
GetId()
Gets the unique identifier.
Declaration
protected override string GetId()
Returns
Type | Description |
---|---|
string | Returns the |
Overrides
OnChange(ChangeEventArgs)
Handles the Change event.
Declaration
protected Task OnChange(ChangeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChangeEventArgs | args | The ChangeEventArgs instance containing the event data. |
Returns
Type | Description |
---|---|
Task |