Kendo.Mvc.UI.Fluent.FormItemBuilder

Defines the fluent API for configuring the FormItem settings.

Methods

Type(System.String)

Defines the type of the item - "fieldset" or "group".

Parameters

value System.String

The value that configures the type.

Field(System.String)

Maps to the model field which will be configured and sets the name of the input.

Parameters

value System.String

The value that configures the field.

Editor(System.String)

Defines the editor widget type. Available options are: DropDown widgets - "AutoComplete", "ComboBox", "MultiSelect", "DropDownTree", "MultiColumnComboBox"; DatePicker widgets - "DateInput", "DatePicker", "DateTimePicker", "TimePicker"; Input widgets - "NumericTextBox", "MaskedTextBox", "Switch", "Rating", "Slider", "ColorPicker" or Editor widget - "Editor".

Parameters

value System.String

The value that configures the editor.

EditorTemplate(System.String)

The template which the widget will use to create the field editor.

Parameters

value System.String

The value that configures the editortemplate.

EditorTemplateId(System.String)

The template which the widget will use to create the field editor.

Parameters

value System.String

The value that configures the editortemplate.

Label(System.Action<Kendo.Mvc.UI.Fluent.FormItemLabelSettingsBuilder<T>>)

Defines the field label.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.FormItemLabelSettingsBuilder>

The action that configures the label.

Label(System.String)

Defines the field label.

Parameters

configurator System.String

The action that configures the label.

Id(System.String)

Defines the field id.

Parameters

value System.String

The value that configures the id.

Title(System.String)

Defines the field title.

Parameters

value System.String

The value that configures the title.

Name(System.String)

Defines the field label.

Parameters

value System.String

The value that configures the label.

Hint(System.String)

Defines the hint text that will be shown underneath the form editor.

Parameters

value System.String

The value that configures the hint.

Field(System.Linq.Expressions.Expression<System.Func<T,T1>>)

Maps to the model field which will be configured and sets the name of the input.

Parameters

expression System.Linq.Expressions.Expression<System.Func<T,T1>>

The expression that specifies the field, based on the bound model.

Editor(System.Action<Kendo.Mvc.UI.Fluent.FormItemEditorBuilder<T>>)

Maps to the model field which will be configured and sets the name of the input.

Parameters

expression System.Action<Kendo.Mvc.UI.Fluent.FormItemEditorBuilder>

The expression that specifies the field, based on the bound model.

EditorTemplateHandler(System.Func<System.Object,System.Object>)

The template which the widget will use to create the field editor.

Parameters

value System.Func<System.Object,System.Object>

The value for EditorTemplate

ColSpan(System.Double)

Defines the field size when grid layout is used.

Parameters

value System.Double

InputHtmlAttributes(System.Object)

Defines the attributes that are applied to the input element.

Parameters

attributes System.Object

The HTML attributes.

InputHtmlAttributes(System.Collections.Generic.IDictionary<System.String,System.Object>)

Defines the attributes that are applied to the input element.

Parameters

attributes System.Collections.Generic.IDictionary<System.String,System.Object>

The HTML attributes.

In this article
Not finding the help you need?