Skip to main content

FormItemEditorFactory.HtmlEditor() Method

Creates an HtmlEditor control that is used as a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public HtmlEditorBuilder HtmlEditor()

Returns

Type Description
HtmlEditorBuilder

An instance of HtmlEditorBuilder.

Remarks

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