Skip to main content

WidgetFactory<TModel>.DateBox() Method

Creates a DateBox control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DateBoxBuilder DateBox()

Returns

Type Description
DateBoxBuilder

An instance of DateBoxBuilder.

Remarks

This method creates a DateBoxBuilder class instance whose members can be used to specify DateBox options.

@(Html.DevExtreme().DateBox() // create a DateBox
    // call methods to specify control options
)
See Also