Back to Devexpress

FormItemEditorFactory Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-factories-af31035e.md

latest1.3 KB
Original Source

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

csharp
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.

cshtml
@(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

FormItemEditorFactory Members

DevExtreme.AspNet.Mvc.Factories Namespace