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

Provides a fluent interface for configuring Form item editors.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

The type of the data model.

Syntax:

C#
public class FormItemEditorBuilder<T> where T : class

Inheritance: objectFormItemEditorBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the FormItemEditorBuilder class.

C#
public FormItemEditorBuilder(FormItem container, ViewContext viewContext, IUrlGenerator generator)
Parameters:containerFormItem

The container.

viewContextViewContextgeneratorIUrlGenerator

Methods

Adds an AutoComplete editor to the form item and sets the editor options.

C#
public AutoCompleteBuilder AutoComplete()
Returns:

AutoCompleteBuilder

Adds a Captcha editor to the form item and sets the editor options.

C#
public CaptchaBuilder Captcha()
Returns:

CaptchaBuilder

Adds a CheckBox editor to the form item and sets the editor options.

C#
public CheckBoxBuilder CheckBox()
Returns:

CheckBoxBuilder

Adds a CheckBoxGroup editor to the form item and sets the editor options.

C#
public CheckBoxGroupBuilder CheckBoxGroup()
Returns:

CheckBoxGroupBuilder

Adds a ColorGradient editor to the form item and sets the editor options.

C#
public ColorGradientBuilder ColorGradient()
Returns:

ColorGradientBuilder

Adds a ColorPalette editor to the form item and sets the editor options.

C#
public ColorPaletteBuilder ColorPalette()
Returns:

ColorPaletteBuilder

Adds a ColorPicker editor to the form item and sets the editor options.

C#
public ColorPickerBuilder ColorPicker()
Returns:

ColorPickerBuilder

Adds a ComboBox editor to the form item and sets the editor options.

C#
public ComboBoxBuilder ComboBox()
Returns:

ComboBoxBuilder

Adds a DateInput editor to the form item and sets the editor options.

C#
public DateInputBuilder DateInput()
Returns:

DateInputBuilder

Adds a DatePicker editor to the form item and sets the editor options.

C#
public DatePickerBuilder DatePicker()
Returns:

DatePickerBuilder

Adds a DateTimePicker editor to the form item and sets the editor options.

C#
public DateTimePickerBuilder DateTimePicker()
Returns:

DateTimePickerBuilder

Adds a DropDownList editor to the form item and sets the editor options.

C#
public DropDownListBuilder DropDownList()
Returns:

DropDownListBuilder

Adds a DropDownTree editor to the form item and sets the editor options.

C#
public DropDownTreeBuilder DropDownTree()
Returns:

DropDownTreeBuilder

Adds an Editor (rich text editor) to the form item and sets the editor options.

C#
public EditorBuilder Editor()
Returns:

EditorBuilder

Adds a FlatColorPicker editor to the form item and sets the editor options.

C#
public FlatColorPickerBuilder FlatColorPicker()
Returns:

FlatColorPickerBuilder

Sets the form item editor as a hidden input field.

C#
public void Hidden()

Adds a MaskedTextBox editor to the form item and sets the editor options.

C#
public MaskedTextBoxBuilder MaskedTextBox()
Returns:

MaskedTextBoxBuilder

Adds a MultiColumnComboBox editor to the form item and sets the editor options.

C#
public MultiColumnComboBoxBuilder MultiColumnComboBox()
Returns:

MultiColumnComboBoxBuilder

Adds a MultiSelect editor to the form item and sets the editor options.

C#
public MultiSelectBuilder MultiSelect()
Returns:

MultiSelectBuilder

Adds a NumericTextBox editor to the form item and sets the editor options. Uses double as the default numeric type.

C#
public NumericTextBoxBuilder<double> NumericTextBox()
Returns:

NumericTextBoxBuilder<double>

Adds a NumericTextBox editor to the form item and sets the editor options with a specified numeric type.

C#
public NumericTextBoxBuilder<NT> NumericTextBox<NT>() where NT : struct
Returns:

NumericTextBoxBuilder<NT>

Adds an OTPInput (One-Time Password Input) editor to the form item and sets the editor options.

C#
public OTPInputBuilder OTPInput()
Returns:

OTPInputBuilder

Adds a RadioGroup editor to the form item and sets the editor options.

C#
public RadioGroupBuilder RadioGroup()
Returns:

RadioGroupBuilder

Adds a Rating editor to the form item and sets the editor options.

C#
public RatingBuilder Rating()
Returns:

RatingBuilder

Adds a Signature editor to the form item and sets the editor options.

C#
public SignatureBuilder Signature()
Returns:

SignatureBuilder

Adds a Slider editor to the form item and sets the editor options. Uses int as the default numeric type.

C#
public SliderBuilder<int> Slider()
Returns:

SliderBuilder<int>

Adds a Switch editor to the form item and sets the editor options.

C#
public SwitchBuilder Switch()
Returns:

SwitchBuilder

Adds a TextArea editor to the form item and sets the editor options.

C#
public TextAreaBuilder TextArea()
Returns:

TextAreaBuilder

Adds a TextBox editor to the form item and sets the editor options.

C#
public TextBoxBuilder<string> TextBox()
Returns:

TextBoxBuilder<string>

Adds a TimeDurationPicker editor to the form item and sets the editor options.

C#
public TimeDurationPickerBuilder TimeDurationPicker()
Returns:

TimeDurationPickerBuilder

Adds a TimePicker editor to the form item and sets the editor options.

C#
public TimePickerBuilder TimePicker()
Returns:

TimePickerBuilder

Adds an Upload editor to the form item and sets the editor options for file upload functionality.

C#
public UploadBuilder Upload()
Returns:

UploadBuilder