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

FormItemLabelSettingsBuilder class.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FormItemLabelSettingsBuilder<T>

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

C#
public FormItemLabelSettingsBuilder(IFormItemLabelSettings settings)
Parameters:settingsIFormItemLabelSettings

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>

A FormItemLabelSettingsBuilder<T> instance that can be used to configure the FormItemLabelSettings.

Configures the FormItem Label Optional option.

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

The value that configures the validateonblur.

Returns:

FormItemLabelSettingsBuilder<T>

A FormItemLabelSettingsBuilder<T> instance that can be used to configure the FormItemLabelSettings.

Configures the FormItem Label Text option.

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

The value that configures the errortemplate.

Returns:

FormItemLabelSettingsBuilder<T>

A FormItemLabelSettingsBuilder<T> instance that can be used to configure the FormItemLabelSettings.