示例#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
文件: Calendar.cs 项目: wanaxe/Study
        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;
 }