Calendar
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Calendar : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseCalendar
Implements:
Inherited Members
Constructors
public Calendar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Fields
Enables the user to select an end date that is before the start date. This option is available only when the selectable configuration is set to range.
public bool? AllowReverse
Properties
Defines the century cell format.
public CenturyCellsFormats? CenturyCellsFormat { get; set; }
Specifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..
public string ComponentType { get; set; }
public IEnumerable<string> DisableDates { get; set; }
public ClientHandlerDescriptor DisableDatesHandler { get; set; }
public bool EnableFooter { get; set; }
public CalendarMessagesSettings Messages { get; set; }
public MonthTemplate MonthTemplate { get; }
Specifies an initial range selection. This option is available only when the selectable configuration is set to range.
public CalendarRangeSettings Range { get; }
public string Selectable { get; set; }
public IList<DateTime> SelectDates { get; set; }
public CalendarSelectionSettings SelectionSettings { get; set; }
When this configuration is enabled, the calendar will render days from the previous and next months in the current view.
public bool? ShowOtherMonthDays { get; set; }
public bool? WeekNumber { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
public override void VerifySettings()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: