New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the TextAreaLabelSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class TextAreaLabelSettingsBuilder

Inheritance: objectTextAreaLabelSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public TextAreaLabelSettingsBuilder(TextAreaLabelSettings settings)
Parameters:settingsTextAreaLabelSettings

The TextAreaLabelSettings

Example:
C#
@(Html.Kendo().TextArea()
.Name("TextArea")
.Label(l => {
l.Floating(true);
l.Content("Value");
})
)

Methods

Sets the inner HTML of the label.

C#
public TextAreaLabelSettingsBuilder Content(string value)
Parameters:valuestring

The value that configures the content.

Returns:

TextAreaLabelSettingsBuilder

Example:
C#
@(Html.Kendo().TextArea()
.Name("TextArea")
.Label(l => {
l.Content("Value");
})
)

If set to true, the component will be wrapped in a container that will allow the floating label functionality.

C#
public TextAreaLabelSettingsBuilder Floating(bool value)
Parameters:valuebool

The value that configures the floating.

Returns:

TextAreaLabelSettingsBuilder

Example:
C#
@(Html.Kendo().TextArea()
.Name("TextArea")
.Label(l => {
l.Floating(true);
})
)