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

Defines the fluent API for configuring the FormItemLabelSettingsBuilder settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FormItemLabelSettingsBuilder<T> where T : class

Inheritance: objectFormItemLabelSettingsBuilder<T>

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

Constructors

Initialize the FormItemLabelSettingsBuilder

C#
public FormItemLabelSettingsBuilder(FormItemLabelSettings settings)
Parameters:settingsFormItemLabelSettings

The FormItemLabelSettings

Methods

Configures the FormItem Label Encoded option.

C#
public FormItemLabelSettingsBuilder<T> Encoded(bool value)
Parameters:valuebool

The value that configures if the text of the label is encoded.

Returns:

FormItemLabelSettingsBuilder<T>

Configures the FormItem Label Optional option.

C#
public FormItemLabelSettingsBuilder<T> Optional(bool value)
Parameters:valuebool

The value that configures if the optional label will be displayed.

Returns:

FormItemLabelSettingsBuilder<T>

Configures the FormItem Label Text option.

C#
public FormItemLabelSettingsBuilder<T> Text(string value)
Parameters:valuestring

The value that configures the text.

Returns:

FormItemLabelSettingsBuilder<T>