CalendarFor

CalendarFor is a calendar editor that allows dates to be selected, and provides end-users with an easy way of navigating through months and years.

Implementation Details

CalendarFor is realized by the CalendarExtension class. Its instance can be accessed via the DevExpress.Web.Mvc.UI.ExtensionsFactory`1.CalendarFor``1 strongly typed helper method, which is used to add a CalendarFor extension to a view. This first method's parameter is an expression that identifies model property to display and edit. The second method's parameter provides access to the CalendarFor's settings, implemented by the CalendarSettings class, allowing you to fully customize the extension.