Defines the fluent API for configuring the FormItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class FormItemsContainerBuilder<T> where T : class
Inheritance: objectFormItemsContainerBuilder<T>
Inherited Members
Constructors
Initialize the FormItemsContainerBuilder
public FormItemsContainerBuilder(FormItem settings, ViewContext viewContext, IUrlGenerator generator)
The FormItem
viewContextViewContextgeneratorIUrlGeneratorMethods
Defines the field size when grid layout is used.
Grid layout settings.
public FormItemsContainerBuilder<T> Grid(Action<FormGridSettingsBuilder<T>> configurator)
The action that configures the grid.
Returns:A JavaScript array that contains the Form's items configuration.
public FormItemsContainerBuilder<T> Items(Action<FormItemFactory<T>> configurator)
The action that configures the items.
Returns:Defines the field label.
public FormItemsContainerBuilder<T> Label(string value)
The value that configures the label.
Returns:Specify the layout of the Group. 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..
public FormItemsContainerBuilder<T> Layout(string value)
The value that configures the layout of the Group.
Returns: