TextArea
Example
Razor
<kendo-textarea>
<label />
<prefix-options></prefix-options>
<suffix-options></suffix-options>
</kendo-textarea>
ChildTags
Tag Name | Details |
---|---|
label | TextAreaLabelSettingsTagHelper |
prefix-options | TextAreaPrefixOptionsSettingsTagHelper |
suffix-options | TextAreaSuffixOptionsSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
for | ModelExpression | An expression to be evaluated against the current model. |
deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
cols | Double | The visible width of the text control, in average character widths. |
enable | Boolean | If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. |
is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
as-module | Boolean | |
fill-mode | FillMode | Sets a value controlling how the color is applied. |
has-client-component | Boolean | |
input-mode | String | Specifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input. |
layout-flow | TextAreaLayoutFlow | Defines the layout flow of the component. |
max-length | Double | The maximum number of characters that the user can enter. |
on-change | String | Fired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance. |
overflow | TextAreaOverflow | Defines how the content overflow should be handled |
placeholder | String | The hint displayed by the widget when it is empty. Not set by default. |
readonly | Boolean | If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input. |
resize | TextAreaResize | Defines how the widget should be resized |
rounded | Rounded | Sets a value controlling the border radius. |
rows | Double | The number of visible text lines for the control. |
sanitize-id | Boolean | |
script-attributes | IDictionary<String,Object> | |
size | ComponentSize | Sets the size of the component. |
value | String | The value of the widget. |