Skip to main content

FormBuilder<T> Class

A Form control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll


public class FormBuilder<T> :

Type Parameters

Name Description

The data type.

The following members return FormBuilder objects:

Show 81 links


Call the Form helper method to create a new Form control. The method creates a FormBuilder<T> class instance whose members allow you to specify control options.

@(Html.DevExtreme().Form() // create a Form
    // call methods to specify control options

To create a strongly-typed Form, specify a data model in the Form<T> method as a type parameter.

@(Html.DevExtreme().Form<SampleModel>() // create a strongly-typed Form
    // call methods to specify control options


See Also