Builder for configuring a FormItem container that holds multiple items.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class FormItemsContainerBuilder<T>
Inheritance: objectFormItemsContainerBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the FormItemsContainerBuilder<T> class.
public FormItemsContainerBuilder(FormItem container, ViewContext viewContext)
The form item
viewContextViewContextThe view context
Properties
Methods
Defines the field size when grid layout is used.
public FormItemsContainerBuilder<T> ColSpan(double value)
A FormItemsContainerBuilder<T> instance that can be used to configure the FormItemContainer.
Grid layout settings.
public FormItemsContainerBuilder<T> Grid(Action<FormGridSettingsBuilder<T>> configurator)
The action that configures the grid.
Returns:A FormItemsContainerBuilder<T> instance that can be used to configure the FormItemContainer.
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:A FormItemsContainerBuilder<T> instance that can be used to configure the FormItemContainer.
Defines the field label.
public FormItemsContainerBuilder<T> Label(string value)
The value that configures the label.
Returns:A FormItemsContainerBuilder<T> instance that can be used to configure the FormItemContainer.
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:A FormItemsContainerBuilder<T> instance that can be used to configure the FormItemContainer.