Table of Contents

Class RadzenTextArea

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenTextArea component.

public class RadzenTextArea : FormComponent<string>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
Inheritance
RadzenTextArea
Implements
Inherited Members

Examples

<RadzenTextArea Cols="30" Rows="3" @bind-Value=@value Change=@(args => Console.WriteLine($"Value: {args}")) />

Constructors

RadzenTextArea()

public RadzenTextArea()

Properties

Cols

Gets or sets the number of cols.

[Parameter]
public int Cols { get; set; }

Property Value

int

The number of cols.

MaxLength

Gets or sets the maximum length.

[Parameter]
public long? MaxLength { get; set; }

Property Value

long?

The maximum length.

ReadOnly

Gets or sets a value indicating whether is read only.

[Parameter]
public bool ReadOnly { get; set; }

Property Value

bool

true if is read only; otherwise, false.

Rows

Gets or sets the number of rows.

[Parameter]
public int Rows { get; set; }

Property Value

int

The number of rows.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string

GetId()

protected override string GetId()

Returns

string

OnChange(ChangeEventArgs)

Handles the Change event.

protected Task OnChange(ChangeEventArgs args)

Parameters

args ChangeEventArgs

The ChangeEventArgs instance containing the event data.

Returns

Task