Skip to main content
A newer version of this page is available. .

WidgetFactory<TModel>.CalendarFor<TProperty>(Expression<Func<TModel, TProperty>>) Method

The Calendar is a widget that displays a calendar and allows an end user to select the required date within a specified date range.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public CalendarBuilder CalendarFor<TProperty>(
    Expression<Func<TModel, TProperty>> expression
)

Parameters

Name Type
expression Expression<Func<TModel, TProperty>>

Type Parameters

Name
TProperty

Returns

Type
CalendarBuilder
See Also