Class RadzenTextArea
RadzenTextArea component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenTextArea : FormComponent<string>, IDisposable, IRadzenFormComponent
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
public int Cols { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of cols. |
MaxLength
Gets or sets the maximum length.
Declaration
public long? MaxLength { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The maximum length. |
ReadOnly
Gets or sets a value indicating whether is read only.
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Rows
Gets or sets the number of rows.
Declaration
public int Rows { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of rows. |
Methods
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
System.String |
Overrides
GetId()
Gets the unique identifier.
Declaration
protected override string GetId()
Returns
Type | Description |
---|---|
System.String | Returns the |
Overrides
OnChange(ChangeEventArgs)
Handles the Change event.
Declaration
protected async System.Threading.Tasks.Task OnChange(ChangeEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChangeEventArgs | args | The |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
IDisposable