Skip to main content

WidgetFactory<TModel>.Form() Method

Creates a Form control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FormBuilder<object> Form()

Returns

Type Description
FormBuilder<Object>

An instance of FormBuilder<T>

Remarks

This method creates a FormBuilder<T> class instance whose members can be used to specify Form options.

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