FormItemFactory<T>
Class
Factory for creating FormItem instances.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
C#
public class FormItemFactory<T>
Inheritance: objectFormItemFactory<T>
Inherited Members
Constructors
Initializes a new instance of the FormItemFactory<T> class.
C#
public FormItemFactory(List<FormItem> container, ViewContext viewContext)
Properties
Methods
Adds an item to the collection
C#
public virtual FormItemBuilder<T> Add()
Returns a FormItemBuilder<T> with the available configuration options.
Adds the AntiForgeryToken input to the collection
C#
public virtual FormItemsContainerBuilder<T> AddAntiForgeryToken(IHtmlContent antiForgeryToken)
Returns a FormItemsContainerBuilder<T> with the available configuration options.
Adds an item to the collection
C#
public virtual FormItemsContainerBuilder<T> AddGroup()
Returns a FormItemsContainerBuilder<T> with the available configuration options.