TextAreaBuilder
Defines the fluent API for configuring the Kendo UI TextArea
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TextAreaBuilder : MvvmWidgetBuilderBase<TextArea, TextAreaBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<TextArea, TextAreaBuilder>MvvmWidgetBuilderBase<TextArea, TextAreaBuilder>TextAreaBuilder
Implements:
Inherited Members
Constructors
Methods
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.
public TextAreaBuilder Enable(bool value)
The value for Enable
Returns:Returns the current TextAreaBuilder instance.
Configures the client-side events.
public TextAreaBuilder Events(Action<TextAreaEventBuilder> configurator)
The client events action.
Returns:Returns the current TextAreaBuilder instance.
Sets a value controlling how the color is applied.
public TextAreaBuilder FillMode(FillMode value)
The value for FillMode
Returns:Returns the current TextAreaBuilder instance.
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.
public TextAreaBuilder InputMode(string value)
The value for InputMode
Returns:Returns the current TextAreaBuilder instance.
Adds a label before the textarea. If the textarea has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public TextAreaBuilder Label(Action<TextAreaLabelSettingsBuilder> configurator)
The TextAreaLabelSettingsBuilder for the label setting.
Returns:Returns the current instance of TextAreaBuilder .
Adds a label before the textarea. If the textarea has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public TextAreaBuilder Label(string label)
The label.
Returns:Returns the current instance of TextAreaBuilder .
Defines the layout flow of the component.
public TextAreaBuilder LayoutFlow(TextAreaLayoutFlow value)
The value for LayoutFlow
Returns:Returns the current TextAreaBuilder instance.
The maximum number of characters that the user can enter.
public TextAreaBuilder MaxLength(double value)
The value for MaxLength
Returns:Returns the current TextAreaBuilder instance.
The maximum number of visible rows to which the textarea can auto-resize. Used in combination with resize: "auto".
public TextAreaBuilder MaxRows(double value)
The value for MaxRows
Returns:Returns the current TextAreaBuilder instance.
Defines how the content overflow should be handled
public TextAreaBuilder Overflow(TextAreaOverflow value)
The value for Overflow
Returns:Returns the current TextAreaBuilder instance.
The hint displayed by the widget when it is empty. Not set by default.
public TextAreaBuilder Placeholder(string value)
The value for Placeholder
Returns:Returns the current TextAreaBuilder instance.
The configuration for the prefix adornment of the component.
public TextAreaBuilder PrefixOptions(Action<TextAreaPrefixOptionsSettingsBuilder> configurator)
The TextAreaPrefixOptionsSettingsBuilder for the prefixoptions setting.
Returns:Returns the current instance of TextAreaBuilder .
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.
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.
public TextAreaBuilder Readonly(bool value)
The value for Readonly
Returns:Returns the current TextAreaBuilder instance.
Defines how the widget should be resized
public TextAreaBuilder Resize(TextAreaResize value)
The value for Resize
Returns:Returns the current TextAreaBuilder instance.
Sets a value controlling the border radius.
public TextAreaBuilder Rounded(Rounded value)
The value for Rounded
Returns:Returns the current TextAreaBuilder instance.
The number of visible text lines for the control.
public TextAreaBuilder Rows(double value)
The value for Rows
Returns:Returns the current TextAreaBuilder instance.
Sets the size of the component.
public TextAreaBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current TextAreaBuilder instance.
The configuration for the suffix adornment of the component.
public TextAreaBuilder SuffixOptions(Action<TextAreaSuffixOptionsSettingsBuilder> configurator)
The TextAreaSuffixOptionsSettingsBuilder for the suffixoptions setting.
Returns:Returns the current instance of TextAreaBuilder .
The value of the widget.
public TextAreaBuilder Value(string value)
The value for Value
Returns:Returns the current TextAreaBuilder instance.