FormItemLabelSettingsBuilder class.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class FormItemLabelSettingsBuilder<T>
Inheritance: objectFormItemLabelSettingsBuilder<T>
Inherited Members
Constructors
Initialize the FormItemLabelSettingsBuilder<T>
public FormItemLabelSettingsBuilder(IFormItemLabelSettings settings)
Methods
Configures the FormItem Label Encoded option.
public FormItemLabelSettingsBuilder<T> Encoded(bool value)
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.
public FormItemLabelSettingsBuilder<T> Optional(bool value)
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.
public FormItemLabelSettingsBuilder<T> Text(string value)
The value that configures the errortemplate.
Returns:FormItemLabelSettingsBuilder<T>
A FormItemLabelSettingsBuilder<T> instance that can be used to configure the FormItemLabelSettings.