Skip to main content

FormItemEditorFactory Class

Provides methods that allow you to configure a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class FormItemEditorFactory :
    AbstractWidgetFactory

Remarks

Do not instantiate this class explicitly. A new FormItemEditorFactory class instance is created when you call the Editor(Func<FormItemEditorFactory, WidgetBuilder>) method.

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddSimple()
            .Editor(e => e.CheckBox()
                // call methods in a chain to customize the control
            );
    })
)

Inheritance

Object
AbstractWidgetFactory
FormItemEditorFactory
See Also