FormItemBuilder

Methods

Type(System.String)

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

Parameters

value - System.String

The value that configures the type.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

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.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Editor(System.String)

Defines the editor widget type. Available options are: DropDown widgets - "AutoComplete", "DropDownList", "ComboBox", "MultiSelect", "DropDownTree", "MultiColumnComboBox"; DatePicker widgets - "DateInput", "DatePicker", "DateTimePicker", "TimePicker"; Input widgets - "TextBox", "TextArea", "NumericTextBox", "MaskedTextBox", "RadioGroup", "CheckBoxGroup", "Switch", "Rating", "Slider", "ColorPicker", "ColorGradient", "ColorPalette", "FlatColorPicker", "hidden" or Editor widget - "Editor".

Parameters

value - System.String

The value that configures the editor.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

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.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

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.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

EditorTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

Label(System.Action)

Defines the field label.

Parameters

configurator - System.Action<FormItemLabelSettingsBuilder>

The action that configures the label.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Label(System.String)

Defines the field label.

Parameters

value - System.String

The value that configures the label.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Id(System.String)

Defines the field id.

Parameters

value - System.String

The value that configures the id.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Title(System.String)

Defines the field title.

Parameters

value - System.String

The value that configures the title.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Name(System.String)

Defines the field label.

Parameters

value - System.String

The value that configures the label.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

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.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Field(System.Linq.Expressions.Expression)

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

Parameters

expression - System.Linq.Expressions.Expression<Func>

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

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Editor(System.Action)

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

Parameters

configurator - System.Action<FormItemEditorBuilder>

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Editor(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

templateBuilder - TemplateBuilder<TModel>

The template component that specifies the editor.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

Editor(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

templateBuilder - TemplateBuilder<T>

The template component that specifies the editor.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

EditorTemplateHandler(System.String)

The JavaScript function that will return the editor for the field.

Parameters

value - System.String

The value for EditorTemplate

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

EditorTemplateHandler(System.Func)

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

Parameters

value - System.Func<Object,Object>

The value for EditorTemplate

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

ColSpan(System.Double)

Defines the field size when grid layout is used.

Parameters

value - System.Double

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

ColSpan(System.Action)

Defines the field size when grid layout is used. A fixed number defines the colspan for the form field. An array is used to map the colSpan to responsive breakpoints.

Parameters

configurator - System.Action<FormItemColSpanFactory>

The action that configures the colspan.

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

InputHtmlAttributes(System.Object)

Defines the attributes that are applied to the input element.

Parameters

value - System.Object

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.

InputHtmlAttributes(System.Collections.Generic.IDictionary)

Defines the attributes that are applied to the input element.

Parameters

value - System.Collections.Generic.IDictionary<String,Object>

RETURNS

A FormItemBuilder instance that can be used to configure the FormItem.