Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FormBuilder<T> Class

A Form control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
public class FormBuilder<T> :
    WidgetBuilder

#Type Parameters

Name Description
T

The data type.

The following members return FormBuilder objects:

Show 83 links

#Remarks

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
)

#Inheritance

See Also