TextAreaBuilder
Defines the fluent API for configuring the Kendo TextArea for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TextAreaBuilder : WidgetBuilderBase<TextArea, TextAreaBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<TextArea, TextAreaBuilder>TextAreaBuilder
Implements:
Inherited Members
Constructors
Methods
If set to false, the component will be disabled and will not allow user input. The component is enabled by default and allows user input.
public TextAreaBuilder Enable(bool value)
The value that configures the enable.
Returns:Configures the client-side events.
public TextAreaBuilder Events(Action<TextAreaEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public TextAreaBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:Defines the "inputmode" attribute of the inner <input /> element. The attribute specifies the type of on-screen keyboard displayed when the user focuses the input.
public TextAreaBuilder InputMode(string value)
The value that configures the "inputmode" attribute.
Returns: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 action that configures the label.
Returns:Defines the layout flow of the component.
public TextAreaBuilder LayoutFlow(TextAreaLayoutFlow value)
The value that configures the layoutflow.
Returns:The maximum number of characters that the user can enter.
public TextAreaBuilder MaxLength(double value)
The value that configures the maxlength.
Returns:The maximum number of visible rows to which the textarea can auto-resize. Used in combination with autoResize.
public TextAreaBuilder MaxRows(double value)
The value that configures the maxrows.
Returns:Defines how the content overflow should be handled
public TextAreaBuilder Overflow(TextAreaOverflow value)
The value that configures the overflow.
Returns:The hint displayed by the component when it is empty. Not set by default.
public TextAreaBuilder Placeholder(string value)
The value that configures the placeholder.
Returns:The configuration for the prefix adornment of the widget.
public TextAreaBuilder PrefixOptions(Action<PrefixOptionsSettingsBuilder> configurator)
The action that configures the prefix options.
Returns:If set to true, the component will be readonly and will not allow user input. The component is not readonly by default and allows user input.
public TextAreaBuilder Readonly(bool value)
The value that configures the readonly.
Returns:Defines how the component should be resized
public TextAreaBuilder Resize(TextAreaResize value)
The value that configures the resize.
Returns:Sets a value controlling the border radius.
public TextAreaBuilder Rounded(Rounded value)
The value that configures the rounded.
Returns:The number of visible text lines for the control.
public TextAreaBuilder Rows(double value)
The value that configures the rows.
Returns:Sets the size of the component.
public TextAreaBuilder Size(ComponentSize value)
The value that configures the size.
Returns:The configuration for the suffix adornment of the widget.
public TextAreaBuilder SuffixOptions(Action<SuffixOptionsSettingsBuilder> configurator)
The action that configures the suffix options.
Returns:The value of the component.
public TextAreaBuilder Value(string value)
The value that configures the value.
Returns: