Skip to main content

ExtensionsFactory<ModelType>.CalendarFor<ValueType>(Expression<Func<ModelType, ValueType>>) Method

Creates a Calendar.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CalendarExtension CalendarFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

Type Parameters

Name
ValueType

Returns

Type Description
CalendarExtension

A CalendarExtension object implementing the CalendarFor<ValueType> functionality.

See Also