public Calendar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator) : base(viewContext, initializer) { this.urlGenerator = urlGenerator; MonthTemplate = new MonthTemplate(); SelectionSettings = new CalendarSelectionSettings(); EnableFooter = true; }
/// <summary> /// Initializes a new instance of the <see cref="CalendarSelectionSettingsBuilder"/> class. /// </summary> /// <param name="settings">The selection settings.</param> public CalendarSelectionSettingsBuilder(CalendarSelectionSettings settings) { this.settings = settings; }