FormItemEditorFactory.DateBox() Method
In This Article
Creates a DateBox control that is used as a form item’s editor.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public DateBoxBuilder DateBox()
#Returns
Type | Description |
---|---|
Date |
An instance of Date |
#Remarks
@(Html.DevExtreme().Form()
.Items(items => {
items.AddSimple()
.Editor(e => e.DateBox()
// call methods in a chain to customize the control
);
})
)
See Also