Skip to main content

FormItemEditorFactory.TextArea() Method

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

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TextAreaBuilder TextArea()

Returns

Type Description
TextAreaBuilder

An instance of TextAreaBuilder.

Remarks

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