WidgetFactory<TModel>.Calendar() Method

Creates a Calendar control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public CalendarBuilder Calendar()

Returns

Type Description
CalendarBuilder

An instance of CalendarBuilder.

Remarks

This method creates a CalendarBuilder class instance whose members can be used to specify Calendar options.

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