BuilderFactoryExtensions.BootstrapFormLayout(BuilderFactory, String) Method

Creates a Form Layout control with a specified name.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll


public static BootstrapFormLayoutBuilder BootstrapFormLayout(
    this BuilderFactory builderFactory,
    string name
Public Shared Function BootstrapFormLayout(
    builderFactory As BuilderFactory,
    name As String
) As BootstrapFormLayoutBuilder


Type Name Description
BuilderFactory builderFactory

A BuilderFactory object providing access to Form Layout settings.

String name

A control name.


Type Description

A builder for a Form Layout control.

The code sample below demonstrates how you can use this method to create a Form Layout control.

@model Person
    .Items(items => {
        items.AddItem(m => m.FirstName)
        items.AddItem(m => m.LastName)
        items.AddItem(m => m.Email)
        items.AddItem(m => m.Age)

See Also