Defines the fluent interface for configuring the SchedulerYearView.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TView
Syntax:
public class SchedulerYearViewBuilder<TView> : SchedulerBaseViewBuilder<TView, SchedulerYearViewBuilder<TView>> where TView : SchedulerYearView
Inheritance: objectSchedulerBaseViewBuilder<TView, SchedulerYearViewBuilder<TView>>SchedulerYearViewBuilder<TView>
Inherited Members
Constructors
public SchedulerYearViewBuilder(TView resource)
Methods
The number of months that will be displayed in the year view calendar.
public SchedulerYearViewBuilder<TView> Months(double? months)
The number of months
Returns:SchedulerYearViewBuilder<TView>
The start date of the view.
public SchedulerYearViewBuilder<TView> StartDate(DateTime startDate)
The startDate
Returns:SchedulerYearViewBuilder<TView>
Defines the template used to render the tooltip in Year view. The available fields in the template are:
- date: The selected date from the calendar.
- events: The list of events and their respective resource for the selected date.
- messages: The configuration of the Scheduler messages used for localization.
public SchedulerYearViewBuilder<TView> TooltipTemplate(string tooltipTemplate)
The value that configures the template content.
Returns:SchedulerYearViewBuilder<TView>
Defines the template used to render the tooltip in Year view. The available fields in the template are:
- date: The selected date from the calendar.
- events: The list of events and their respective resource for the selected date.
- messages: The configuration of the Scheduler messages used for localization.
public SchedulerYearViewBuilder<TView> TooltipTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SchedulerYearViewBuilder<TView>
Defines the template used to render the tooltip in Year view. The available fields in the template are:
- date: The selected date from the calendar.
- events: The list of events and their respective resource for the selected date.
- messages: The configuration of the Scheduler messages used for localization.
public SchedulerYearViewBuilder<TView> TooltipTemplateHandler(string tooltipTemplate)
The JavaScript function that returns the template.
Returns:SchedulerYearViewBuilder<TView>
Defines the template used to render the tooltip in Year view. The available fields in the template are:
- date: The selected date from the calendar.
- events: The list of events and their respective resource for the selected date.
- messages: The configuration of the Scheduler messages used for localization.
public SchedulerYearViewBuilder<TView> TooltipTemplateId(string tooltipTemplateId)
The "id" attribute of the external Kendo UI Template.
Returns:SchedulerYearViewBuilder<TView>
Defines the template used to render the tooltip in Year view. The available fields in the template are:
- date: The selected date from the calendar.
- events: The list of events and their respective resource for the selected date.
- messages: The configuration of the Scheduler messages used for localization.
public SchedulerYearViewBuilder<TView> TooltipTemplateView(MvcHtmlString tooltipTemplate)
The Razor View that contains the template.
Returns:SchedulerYearViewBuilder<TView>