ExtensionsFactory<ModelType>.CalendarFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<CalendarSettings>) Method
Creates a Calendar.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public CalendarExtension CalendarFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<CalendarSettings> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ModelType, ValueType>> | An expression that identifies the object that contains the properties to display. |
method | Action<CalendarSettings> | A delegate method that accepts CalendarSettings as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
CalendarExtension | A CalendarExtension object implementing the Calendar functionality. |
See Also