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