Пример #1
0
        public Calendar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
            : base(viewContext, initializer)
        {
            this.urlGenerator = urlGenerator;

            MonthTemplate = new MonthTemplate();

            SelectionSettings = new CalendarSelectionSettings();
            EnableFooter      = true;
        }
Пример #2
0
        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;
 }