Skip to main content

FormItemEditorFactory.DateBox() Method

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

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DateBoxBuilder DateBox()

Returns

Type Description
DateBoxBuilder

An instance of DateBoxBuilder.

Remarks

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