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

Defines the fluent API for adding items to Kendo Form for ASP.NET MVC

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectFormItemFactory<T>

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

Constructors

C#
public FormItemFactory(List<FormItem> container, ViewContext viewContext, IUrlGenerator generator)
Parameters:containerList<FormItem>viewContextViewContextgeneratorIUrlGenerator

Methods

Adds an item to the collection

C#
public virtual FormItemBuilder<T> Add()
Returns:

FormItemBuilder<T>

Returns a FormItemBuilder with the available configuration options.

Adds the AntiForgeryToken input

C#
public virtual FormItemBuilder<T> AddAntiForgeryToken()
Returns:

FormItemBuilder<T>

Adds an item to the collection

C#
public virtual FormItemsContainerBuilder<T> AddGroup()
Returns:

FormItemsContainerBuilder<T>

Returns a FormItemsContainerBuilder with the available configuration options.