Kendo.Mvc.UI.FormItem
Defines the fluent API for configuring the FormItem settings.
Properties
Type
Defines the type of the item - "fieldset" or "group".
Field
Maps to the model field which will be configured and sets the name of the input.
Editor
Defines the editor widget type. Available options are: DropDown widgets - "AutoComplete", "DropDownList", "ComboBox", "MultiSelect", "DropDownTree", "MultiColumnComboBox"; DatePicker widgets - "DateInput", "DatePicker", "DateTimePicker", "TimePicker"; Input widgets - "NumericTextBox", "MaskedTextBox", "Switch", "Rating", "Slider", "ColorPicker" or Editor widget - "Editor".
Id
Defines the field id.
Title
Defines the field title.
Name
Defines the field name.
Items
Gets the nested items collection of the item.
EditorTemplate
The template which the widget will use to create the field editor.
EditorTemplateId
The id for the EditorTemplate
Label
Configures the field label.
Hint
Defines the hint text that will be shown underneath the form editor.
Layout
Specify the layout of Form content. Valid options are: grid: This is equivalent to display: grid. It defines the form element as a grid container and establishes a new grid formatting context for its contents..
Grid
Grid layout settings.
ColSpan
Defines the field size when grid layout is used.
InputHtmlAttributes
Defines the attributes that are applied to the input element.
Methods
Serialize(System.Collections.Generic.IDictionary<System.String,System.Object>)
Serialize current instance to Dictionary