Defines the fluent interface for configuring the MultiViewCalendar.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MultiViewCalendarBuilder : WidgetBuilderBase<MultiViewCalendar, MultiViewCalendarBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<MultiViewCalendar, MultiViewCalendarBuilder>MultiViewCalendarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the MultiViewCalendar class.
public MultiViewCalendarBuilder(MultiViewCalendar component)
The component.
Methods
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.
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 MultiViewCalendarBuilder AllowReverse(bool value)
The value for AllowReverse
Returns:Defines the century cell format.
public MultiViewCalendarBuilder CenturyCellsFormat(CenturyCellsFormats value)
The value for CenturyCellsFormat
Returns:Specifies the culture info used by the MultiViewCalendar widget.
public MultiViewCalendarBuilder Culture(string culture)
The chosen culture.
Returns:Specifies the navigation depth.
public MultiViewCalendarBuilder Depth(CalendarView depth)
The chosen calendar depth.
Returns:Specifies the disabled dates in the MultiViewCalendar widget using a function.
public MultiViewCalendarBuilder DisableDates(params DayOfWeek[] days)
Array of values to disable.
Returns:Specifies the disabled dates in the MultiViewCalendar widget using a function.
public MultiViewCalendarBuilder DisableDates(string handler)
The function which will be called to disable dates.
Returns:Configures the client-side events.
public MultiViewCalendarBuilder Events(Action<MultiViewCalendarEventBuilder> clientEventsAction)
The client events action.
Returns:Enable/disable footer.
public MultiViewCalendarBuilder Footer(bool footer)
The value of the property.
Returns:Footer template to be used for rendering the footer of the MultiViewCalendar.
public MultiViewCalendarBuilder Footer(string footer)
The value of the footer template.
Returns:FooterId to be used for rendering the footer of the MultiViewCalendar.
public MultiViewCalendarBuilder FooterId(string id)
The value of the property.
Returns:Sets the date format, which will be used to parse and format the machine date.
public MultiViewCalendarBuilder Format(string format)
The desired format.
Returns:Sets the maximal date, which can be selected in the MultiViewCalendar
public MultiViewCalendarBuilder Max(DateTime date)
The value of the property.
Returns:Sets the maximal date, which can be selected in the MultiViewCalendar.
public MultiViewCalendarBuilder Max(string date)
The value of the property.
Returns:Allows localization of the strings that are used in the widget.
public MultiViewCalendarBuilder Messages(Action<MultiViewCalendarMessagesSettingsBuilder> configurator)
The configurator for the messages setting.
Returns:Sets the minimal date, which can be selected in the MultiViewCalendar
public MultiViewCalendarBuilder Min(DateTime date)
The value of the property.
Returns:Sets the minimal date, which can be selected in the MultiViewCalendar.
public MultiViewCalendarBuilder Min(string date)
The value of the property.
Returns:Configures the content of cells of the MultiViewCalendar.
public MultiViewCalendarBuilder MonthTemplate(Action<MonthTemplateBuilder> monthTemplateAction)
The template action reference.
Returns:Templates for the cells rendered in the "month" view.
public MultiViewCalendarBuilder MonthTemplate(string content)
The template content.
Returns:Configures the content of cells of the MultiViewCalendar.
public MultiViewCalendarBuilder MonthTemplate<TModel>(TemplateBuilder<TModel> template)
MonthTemplateHandler to be used for rendering the cells of the MultiViewCalendar.
public MultiViewCalendarBuilder MonthTemplateHandler(string template)
The template content.
Returns:MonthTemplateId to be used for rendering the cells of the MultiViewCalendar.
public MultiViewCalendarBuilder MonthTemplateId(string id)
The value of the property.
Returns:MonthTemplate to be used for rendering the cells of the MultiViewCalendar.
public MultiViewCalendarBuilder MonthTemplateView(MvcHtmlString template)
The template view instance.
Returns:Specifies an initial range selection. This option is available only when the Selectable() configuration is set to "range".
public MultiViewCalendarBuilder Range(Action<MultiViewCalendarRangeSettingsBuilder> configurator)
The configurator for the range settings.
Returns:Specifies the selection mode.
public MultiViewCalendarBuilder Selectable(string selectable)
The value of the property.
Returns:Configures the selection settings of the MultiViewCalendar.
public MultiViewCalendarBuilder Selection(Action<MultiViewCalendarSelectionSettingsBuilder> selectionAction)
SelectAction settings, which includes Action name and IEnumerable of DateTime objects.
Returns:When this configuration is enabled, the MultiViewCalendar will render days from the previous and next months in the current views.
When this configuration is enabled, the MultiViewCalendar will render days from the previous and next months in the current views.
public MultiViewCalendarBuilder ShowOtherMonthDays(bool value)
The value for ShowOtherMonthDays
Returns:If set to true will render a header for every view.
If set to true will render a header for every view.
public MultiViewCalendarBuilder ShowViewHeader(bool value)
The value for ShowViewHeader
Returns:Specifies the start view.
public MultiViewCalendarBuilder Start(CalendarView start)
The value for the start view.
Returns:Sets the value of the MultiViewCalendar
public MultiViewCalendarBuilder Value(DateTime? date)
The value of the property.
Returns:Sets the value of the MultiViewCalendar
public MultiViewCalendarBuilder Value(string date)
The value of the property.
Returns:Sets the number of views in the MultiViewCalendar.
public MultiViewCalendarBuilder Views(int views)
The desired count of views.
Returns:If set to true a week of the year will be shown on the left side of the MultiViewCalendar.
public MultiViewCalendarBuilder WeekNumber(bool weekNumber)
The value of the property.
Returns: