FormBuilder<T> Class
A Form control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public class FormBuilder<T> :
WidgetBuilder
Type Parameters
Name | Description |
---|---|
T | The data type. |
Related API Members
The following members return FormBuilder
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
Object
OptionsOwnerBuilder
WidgetBuilder
FormBuilder<T>
See Also