Defines the fluent interface for configuring the SchedulerMultiDayView.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TView
Syntax:
public class SchedulerMultiDayViewBuilder<TView> : SchedulerBaseViewBuilder<TView, SchedulerMultiDayViewBuilder<TView>> where TView : SchedulerMultiDayView
Inheritance: objectSchedulerBaseViewBuilder<TView, SchedulerMultiDayViewBuilder<TView>>SchedulerMultiDayViewBuilder<TView>
Derived Classes:
Inherited Members
Constructors
public SchedulerMultiDayViewBuilder(TView resource)
Methods
Defines the template used to render the "all day" Scheduler events. The option is supported for Day and Week views. The available fields in the template are:
- description: The event description.
- end: The event end date.
- resources: The event resources collection.
- start: The event start date.
- title: The event title.
public SchedulerMultiDayViewBuilder<TView> AllDayEventTemplate(string allDayEventTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" Scheduler events. The option is supported for Day and Week views. The available fields in the template are:
- description: The event description.
- end: The event end date.
- resources: The event resources collection.
- start: The event start date.
- title: The event title.
public SchedulerMultiDayViewBuilder<TView> AllDayEventTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" Scheduler events. The option is supported for Day and Week views. The available fields in the template are:
- description: The event description.
- end: The event end date.
- resources: The event resources collection.
- start: The event start date.
- title: The event title.
public SchedulerMultiDayViewBuilder<TView> AllDayEventTemplateHandler(string allDayEventTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" Scheduler events. The option is supported for Day and Week views. The available fields in the template are:
- description: The event description.
- end: The event end date.
- resources: The event resources collection.
- start: The event start date.
- title: The event title.
public SchedulerMultiDayViewBuilder<TView> AllDayEventTemplateId(string allDayEventTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" Scheduler events. The option is supported for Day and Week views. The available fields in the template are:
- description: The event description.
- end: The event end date.
- resources: The event resources collection.
- start: The event start date.
- title: The event title.
public SchedulerMultiDayViewBuilder<TView> AllDayEventTemplateView(MvcHtmlString allDayEventTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
If enabled, the Scheduler will display a slot for the "all day" events. By default, the slot is visible. The option is supported for Day and Week views.
public SchedulerMultiDayViewBuilder<TView> AllDaySlot(bool allDaySlot)
The enum value that enables or disables the slot.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" slot cell. The option is supported for Day, Week, and WorkWeek views. The available fields in the template are:
- date: Represents the slot date.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> AllDaySlotTemplate(string slotTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" slot cell. The option is supported for Day, Week, and WorkWeek views. The available fields in the template are:
- date: Represents the slot date.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> AllDaySlotTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" slot cell. The option is supported for Day, Week, and WorkWeek views. The available fields in the template are:
- date: Represents the slot date.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> AllDaySlotTemplateHandler(string slotTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" slot cell. The option is supported for Day, Week, and WorkWeek views. The available fields in the template are:
- date: Represents the slot date.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> AllDaySlotTemplateId(string slotTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the "all day" slot cell. The option is supported for Day, Week, and WorkWeek views. The available fields in the template are:
- date: Represents the slot date.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> AllDaySlotTemplateView(MvcHtmlString slotTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the date header cells. The option is supported for Day, Week, WorkWeek, and Timeline views. By default the Scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier (the abbreviated name of the week day), will be localized based on the current Kendo UI culture. To control the day and month order, use a custom template. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> DateHeaderTemplate(string dateHeaderTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the date header cells. The option is supported for Day, Week, WorkWeek, and Timeline views. By default the Scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier (the abbreviated name of the week day), will be localized based on the current Kendo UI culture. To control the day and month order, use a custom template. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> DateHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the date header cells. The option is supported for Day, Week, WorkWeek, and Timeline views. By default the Scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier (the abbreviated name of the week day), will be localized based on the current Kendo UI culture. To control the day and month order, use a custom template. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> DateHeaderTemplateHandler(string dateHeaderTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the date header cells. The option is supported for Day, Week, WorkWeek, and Timeline views. By default the Scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier (the abbreviated name of the week day), will be localized based on the current Kendo UI culture. To control the day and month order, use a custom template. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> DateHeaderTemplateId(string dateHeaderTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the date header cells. The option is supported for Day, Week, WorkWeek, and Timeline views. By default the Scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier (the abbreviated name of the week day), will be localized based on the current Kendo UI culture. To control the day and month order, use a custom template. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> DateHeaderTemplateView(MvcHtmlString dateHeaderTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the end time of the view. The Scheduler will display events ending before the end time.
public SchedulerMultiDayViewBuilder<TView> EndTime(DateTime endTime)
The value that configures the end time.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the end time of the view. The Scheduler will display events ending before the end time.
public SchedulerMultiDayViewBuilder<TView> EndTime(int hours, int minutes, int seconds)
The hours
minutesintThe minutes
secondsintThe seconds
Returns:SchedulerMultiDayViewBuilder<TView>
If set to "false", the footer of the Scheduler will not be displayed. By default, the footer is visible.
public SchedulerMultiDayViewBuilder<TView> Footer(bool showFooter)
The enum value that toggles the visibility of the footer.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the group headers of the Scheduler Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- text: The group text.
- color: The group color.
- value: The group value.
- field: The field of the Scheduler event that contains the resource id.
- title: The 'title' option of the resource.
- name: The 'name' option of the resource.
public SchedulerMultiDayViewBuilder<TView> GroupHeaderTemplate(string groupHeaderTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the group headers of the Scheduler Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- text: The group text.
- color: The group color.
- value: The group value.
- field: The field of the Scheduler event that contains the resource id.
- title: The 'title' option of the resource.
- name: The 'name' option of the resource.
public SchedulerMultiDayViewBuilder<TView> GroupHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the group headers of the Scheduler Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- text: The group text.
- color: The group color.
- value: The group value.
- field: The field of the Scheduler event that contains the resource id.
- title: The 'title' option of the resource.
- name: The 'name' option of the resource.
public SchedulerMultiDayViewBuilder<TView> GroupHeaderTemplateHandler(string groupHeaderTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the group headers of the Scheduler Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- text: The group text.
- color: The group color.
- value: The group value.
- field: The field of the Scheduler event that contains the resource id.
- title: The 'title' option of the resource.
- name: The 'name' option of the resource.
public SchedulerMultiDayViewBuilder<TView> GroupHeaderTemplateId(string groupHeaderTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the group headers of the Scheduler Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- text: The group text.
- color: The group color.
- value: The group value.
- field: The field of the Scheduler event that contains the resource id.
- title: The 'title' option of the resource.
- name: The 'name' option of the resource.
public SchedulerMultiDayViewBuilder<TView> GroupHeaderTemplateView(MvcHtmlString groupHeaderTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the number of minutes represented by a major tick. The option is supported for Day and Week views.
public SchedulerMultiDayViewBuilder<TView> MajorTick(int majorTick)
The value that configures the number of minutes.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the major ticks. The option is supported for Day, Week, WorkWeek, and Timeline views. By default, the Scheduler renders the time using the current culture time format. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MajorTimeHeaderTemplate(string majorTimeHeaderTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the major ticks. The option is supported for Day, Week, WorkWeek, and Timeline views. By default, the Scheduler renders the time using the current culture time format. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MajorTimeHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the major ticks. The option is supported for Day, Week, WorkWeek, and Timeline views. By default, the Scheduler renders the time using the current culture time format. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MajorTimeHeaderTemplateHandler(string majorTimeHeaderTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the major ticks. The option is supported for Day, Week, WorkWeek, and Timeline views. By default, the Scheduler renders the time using the current culture time format. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MajorTimeHeaderTemplateId(string majorTimeHeaderTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the major ticks. The option is supported for Day, Week, WorkWeek, and Timeline views. By default, the Scheduler renders the time using the current culture time format. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MajorTimeHeaderTemplateView(MvcHtmlString majorTimeHeaderTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the number of time slots displayed per major tick. The option is supported for Day, Week, and Timeline views.
public SchedulerMultiDayViewBuilder<TView> MinorTickCount(int minorTickCount)
The value that configures the number of time slots.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the minor ticks. The option is supported for Day and Week views. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MinorTimeHeaderTemplate(string minorTimeHeaderTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the minor ticks. The option is supported for Day and Week views. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MinorTimeHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the minor ticks. The option is supported for Day and Week views. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MinorTimeHeaderTemplateHandler(string minorTimeHeaderTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the minor ticks. The option is supported for Day and Week views. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MinorTimeHeaderTemplateId(string minorTimeHeaderTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the minor ticks. The option is supported for Day and Week views. The available field in the template is "date", which represents the major tick date.
public SchedulerMultiDayViewBuilder<TView> MinorTimeHeaderTemplateView(MvcHtmlString minorTimeHeaderTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
If enabled, the view will be initially shown in business hours mode. By default, the view is displayed in full day mode.
public SchedulerMultiDayViewBuilder<TView> ShowWorkHours()
SchedulerMultiDayViewBuilder<TView>
If set to "true", the view will be initially shown in business hours mode. By default, the view is displayed in full day mode.
public SchedulerMultiDayViewBuilder<TView> ShowWorkHours(bool value)
The enum value that enables or disables the business hours mode.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the time slot cells. The option is supported for Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- date: Represents the slot date and time.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> SlotTemplate(string slotTemplate)
The value that configures the template content.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the time slot cells. The option is supported for Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- date: Represents the slot date and time.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> SlotTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the time slot cells. The option is supported for Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- date: Represents the slot date and time.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> SlotTemplateHandler(string slotTemplate)
The JavaScript function that returns the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the time slot cells. The option is supported for Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- date: Represents the slot date and time.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> SlotTemplateId(string slotTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerMultiDayViewBuilder<TView>
Defines the template used to render the time slot cells. The option is supported for Day, Week, WorkWeek, and Timeline views. The available fields in the template are:
- date: Represents the slot date and time.
- resources(): Returns the relevant resources for the current slot.
public SchedulerMultiDayViewBuilder<TView> SlotTemplateView(MvcHtmlString slotTemplate)
The Razor View that contains the template.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the start time of the view. The Scheduler will display events starting after the specified start time.
public SchedulerMultiDayViewBuilder<TView> StartTime(DateTime startTime)
The value that configures the start time.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the start time of the view. The Scheduler will display events starting after the specified start time.
public SchedulerMultiDayViewBuilder<TView> StartTime(int hours, int minutes, int seconds)
The hours
minutesintThe minutes
secondsintThe seconds
Returns:SchedulerMultiDayViewBuilder<TView>
Enables the DOM virtualization for vertical grouping of the view - renders batches of DOM elements as you scroll. The views that support this option are Day, Week, WorkWeek, and Month.
public SchedulerMultiDayViewBuilder<TView> Virtual(bool enable)
The option that enables or disables the virtualization.
Returns:SchedulerMultiDayViewBuilder<TView>
If disabled, the Scheduler will not display the "WorkDayCommand" button. By default, the button is displayed.
public SchedulerMultiDayViewBuilder<TView> WorkDayCommand(bool showWorkDayCommand)
The enum value that toggles the visibility of the "WorkDayCommand" button.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the end time of the business hours. The Scheduler will display events before the specified WorkDayEnd() if the "WorkDayCommand" button is clicked.
public SchedulerMultiDayViewBuilder<TView> WorkDayEnd(DateTime workDayEnd)
The value that configures the end time.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the end time of the business hours. The Scheduler will display events before the specified WorkDayEnd() if the "WorkDayCommand" button is clicked.
public SchedulerMultiDayViewBuilder<TView> WorkDayEnd(int hours, int minutes, int seconds)
The hours
minutesintThe minutes
secondsintThe seconds
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the working days (index based).
public SchedulerMultiDayViewBuilder<TView> WorkDays(int[] workDays)
The array that contains the indexes of the weekdays.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the start time of the business hours. The Scheduler will display events after the specified WorkDayStart() if the "WorkDayCommand" button is clicked.
public SchedulerMultiDayViewBuilder<TView> WorkDayStart(DateTime workDayStart)
The value that configures the start time.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the start time of the business hours. The Scheduler will display events after the specified WorkDayStart() if the "WorkDayCommand" button is clicked.
public SchedulerMultiDayViewBuilder<TView> WorkDayStart(int hours, int minutes, int seconds)
The hours
minutesintThe minutes
secondsintThe seconds
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the end day of the working week by index.
public SchedulerMultiDayViewBuilder<TView> WorkWeekEnd(int workWeekEndDay)
The index of the end day.
Returns:SchedulerMultiDayViewBuilder<TView>
Sets the start day of the working week by index.
public SchedulerMultiDayViewBuilder<TView> WorkWeekStart(int workWeekStartDay)
The index of the start day.
Returns:SchedulerMultiDayViewBuilder<TView>