# SchedulerBuilder

## Properties

### WriteAction - Func

## Methods

### StartTime(System.Int32,System.Int32,System.Int32)

The start time of the week and day views. The scheduler will display events starting after the startTime.

#### Parameters

##### hours - `System.Int32`

The hours

##### minutes - `System.Int32`

The minutes

##### seconds - `System.Int32`

The seconds

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .StartTime(10, 0, 0)
                .BindTo(Model)
            )
             
```

### EndTime(System.Int32,System.Int32,System.Int32)

The end time of the week and day views. The scheduler will display events ending before the endTime.

#### Parameters

##### hours - `System.Int32`

The hours

##### minutes - `System.Int32`

The minutes

##### seconds - `System.Int32`

The seconds

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .EndTime(10,0,0)
                .BindTo(Model)
            )
             
```

### WorkDayStart(System.Int32,System.Int32,System.Int32)

Sets the start of the work day when the "Show business hours" button is clicked.

#### Parameters

##### hours - `System.Int32`

The hours

##### minutes - `System.Int32`

The minutes

##### seconds - `System.Int32`

The seconds

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .WorkDayStart(10, 0, 0)
                .BindTo(Model)
            )
             
```

### WorkDays(System.Int32\[])

Sets the working days (index based).

#### Parameters

##### workDays - `System.Int32[]`

The indices of the days of the week

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .WorkDays(new int[] { 1,3,4,5 })
                .BindTo(Model)
            )
             
```

### WorkDayEnd(System.Int32,System.Int32,System.Int32)

Sets the end of the work day when the "Show business hours" button is clicked.

#### Parameters

##### hours - `System.Int32`

The hours

##### minutes - `System.Int32`

The minutes

##### seconds - `System.Int32`

The seconds

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .WorkDayEnd(16,0,0)
                .BindTo(Model)
            )
             
```

### BindTo(System.Collections.Generic.IEnumerable)

Binds the scheduler to a list of objects

#### Parameters

##### dataSource - `System.Collections.Generic.IEnumerable<T>`

The data source.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @model IEnumerable<Task>
            @(Html.Kendo().Scheduler<Task>()
               .Name("Scheduler")
               .BindTo(Model)
               .DataSource(dataSource => dataSource
                   .Model(m => m.Id(f => f.TaskID))
               ))
             
```

### DataSource(System.Action)

Configures the DataSource options.

#### Parameters

##### configurator - System.Action<[SchedulerAjaxDataSourceBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerajaxdatasourcebuilder)>

The DataSource configurator action.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
             @( Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .DataSource(source =>
                        {
                            source.Read(read =>
                            {
                                read.Action("Read", "Scheduler");
                            });
                        })
            )
             
```

### DataSource(System.String)

Configures the DataSource options.

#### Parameters

##### dataSourceId - `System.String`

The DataSource name.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
             @( Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .DataSource("dataSource")
            )
             
```

### Toolbar(System.Action)

Adds PDF command to the toolbar.

#### Parameters

##### addToolbarAction - System.Action<[SchedulerToolbarFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulertoolbarfactory)>

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Task>()
                .Name("scheduler")
                .Toolbar(toolbar => toolbar.Pdf())
                .Pdf(pdf => pdf.FileName("SchedulerExport.pdf"))
                .DataSource(dataSource =>
                    // configure the data source
                    dataSource
                        .Ajax()
                        .Read("Read", "Scheduler")
                )
            )
             
```

### Mobile()

Enables the adaptive rendering when viewed on mobile browser

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .Mobile()
            )
             
```

### Editable(System.Action)

Sets the editing configuration of the scheduler.

#### Parameters

##### configurator - System.Action<[SchedulerEditableSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulereditablesettingsbuilder)>

The lambda which configures the editing

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Task>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .Editable(editable =>
                {
                    editable.Confirmation(false);
                    editable.TemplateId("customEditTemplate");
                })
                .DataSource(d => d
                    .Model(m => m.Id(f => f.TaskID))
                        .Read("Read", "Scheduler")
                        .Create("Create", "Scheduler")
                        .Destroy("Destroy", "Scheduler")
                        .Update("Update", "Scheduler")
                )
            )
             
```

### Editable(System.Boolean)

If set to false the user would not be able to create new scheduler events and modify or delete existing ones.

#### Parameters

##### isEditable - `System.Boolean`

The isEditable

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Task>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .Editable(false)
                .DataSource(d => d
                    .Model(m => m.Id(f => f.TaskID))
                        .Read("Read", "Scheduler")
                )
            )
             
```

### Group(System.Action)

Sets the resources grouping configuration of the scheduler.

#### Parameters

##### configuration - System.Action<[SchedulerGroupBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulergroupbuilder)>

The lambda which configures the scheduler grouping

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Task>()
               .Name("Scheduler")
               .Timezone("Etc/UTC")
               .Group(group => group.Resources("Rooms"))
               .Resources(resource =>
               {
                    resource.Add(m => m.RoomID)
                        .Title("Room")
                        .Name("Rooms")
                        .DataTextField("Text")
                        .DataValueField("Value")
                        .DataColorField("Color")
                        .BindTo(new[] {
                            new { Text = "Meeting Room 101", Value = 1, Color = "#6eb3fa" },
                            new { Text = "Meeting Room 201", Value = 2, Color = "#f58a8a" }
                        });
                    resource.Add(m => m.Attendees)
                        .Title("Attendees")
                        .Multiple(true)
                        .DataTextField("Text")
                        .DataValueField("Value")
                        .DataColorField("Color")
                        .BindTo(new[] {
                            new { Text = "Alex", Value = 1, Color = "#f8a398" } ,
                            new { Text = "Bob", Value = 2, Color = "#51a0ed" } ,
                            new { Text = "Charlie", Value = 3, Color = "#56ca85" }
                        });
                })
               .DataSource(d => d
                       .Model(m =>
                       {
                       m.Id(f => f.MeetingID);
                       m.Field(f => f.Title).DefaultValue("No title");
                       m.RecurrenceId(f => f.RecurrenceID);
                   })
                       .Read("Grouping_Horizontal_Read", "Scheduler")
               )
            )
             
```

### Resources(System.Action)

Sets the resources configuration of the scheduler.

#### Parameters

##### addResourceAction - System.Action<[SchedulerResourceFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerresourcefactory)>

The lambda which configures the scheduler resources

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Task>()
               .Name("Scheduler")
               .Resources(resource =>
               {
                   resource.Add(m => m.TaskID)
                       .Title("Color")
                       .Multiple(true)
                       .DataTextField("Text")
                       .DataValueField("Value")
                       .DataSource(d => d.Read("Attendies", "Scheduler"));
               })
               .DataSource(dataSource => dataSource
                   .Model(m => m.Id(f => f.TaskID))
               ))
             
```

### Views(System.Action)

Sets the views configuration of the scheduler.

#### Parameters

##### addViewAction - System.Action<[SchedulerViewFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerviewfactory)>

The lambda which configures the scheduler views

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Task>()
                .Name("scheduler")
                .Date(new DateTime(2013, 6, 13))
                .Views(views => {
                    views.DayView();
                    views.AgendaView();
                })
                .BindTo(Model)
            )
             
```

### AllDayEventTemplate(System.String)

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### value - `System.String`

The value for AllDayEventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AllDayEventTemplateId(System.String)

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateId - `System.String`

The ID of the template element for AllDayEventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AllDayEventTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for AllDayEventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AllDayEventTemplateHandler(System.String)

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for AllDayEventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AllDayEventTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the alldayeventtemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AllDaySlot(System.Boolean)

If set to true the scheduler will display a slot for "all day" events.

#### Parameters

##### value - `System.Boolean`

The value for AllDaySlot

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### AutoBind(System.Boolean)

If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. That will also apply for data sources for the resources used in the widget. By default the widget will bind to the data source specified in the configuration.

#### Parameters

##### value - `System.Boolean`

The value for AutoBind

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### CurrentTimeMarker(System.Action)

If set to false the "current time" marker of the scheduler would not be displayed.

#### Parameters

##### configurator - System.Action<[SchedulerCurrentTimeMarkerSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulercurrenttimemarkersettingsbuilder)>

The configurator for the currenttimemarker setting.

#### RETURNS

Returns the current instance of [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) .

### CurrentTimeMarker(System.Boolean)

If set to false the "current time" marker of the scheduler would not be displayed.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the currenttimemarker option.

#### RETURNS

Returns the current instance of [SchedulerCurrentTimeMarkerSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulercurrenttimemarkersettingsbuilder) .

### Date(System.DateTime)

The current date of the scheduler. Used to determine the period which is displayed by the widget.

#### Parameters

##### value - `System.DateTime`

The value for Date

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### DateHeaderTemplate(System.String)

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### value - `System.String`

The value for DateHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### DateHeaderTemplateId(System.String)

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateId - `System.String`

The ID of the template element for DateHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### DateHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for DateHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### DateHeaderTemplateHandler(System.String)

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for DateHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### DateHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the dateheadertemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EndTime(System.DateTime)

The end time of the week and day views. The scheduler will display events ending before the endTime.

#### Parameters

##### value - `System.DateTime`

The value for EndTime

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EventTemplate(System.String)

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### value - `System.String`

The value for EventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EventTemplateId(System.String)

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateId - `System.String`

The ID of the template element for EventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EventTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for EventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EventTemplateHandler(System.String)

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for EventTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### EventTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the eventtemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Footer(System.Action)

If set to false the footer of the scheduler would not be displayed.

#### Parameters

##### configurator - System.Action<[SchedulerFooterSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerfootersettingsbuilder)>

The configurator for the footer setting.

#### RETURNS

Returns the current instance of [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) .

### Footer(System.Boolean)

If set to false the footer of the scheduler would not be displayed.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the footer option.

#### RETURNS

Returns the current instance of [SchedulerFooterSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerfootersettingsbuilder) .

### GroupHeaderTemplate(System.String)

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

#### Parameters

##### value - `System.String`

The value for GroupHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### GroupHeaderTemplateId(System.String)

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

#### Parameters

##### templateId - `System.String`

The ID of the template element for GroupHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### GroupHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for GroupHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### GroupHeaderTemplateHandler(System.String)

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for GroupHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### GroupHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the groupheadertemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Height(System.Double)

The height of the widget. Numeric values are treated as pixels.

#### Parameters

##### value - `System.Double`

The value for Height

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTick(System.Int32)

The number of minutes represented by a major tick.

#### Parameters

##### value - `System.Int32`

The value for MajorTick

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTimeHeaderTemplate(System.String)

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### value - `System.String`

The value for MajorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTimeHeaderTemplateId(System.String)

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateId - `System.String`

The ID of the template element for MajorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTimeHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for MajorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTimeHeaderTemplateHandler(System.String)

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for MajorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MajorTimeHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the majortimeheadertemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Max(System.DateTime)

Constraints the maximum date which can be selected via the scheduler navigation.

#### Parameters

##### value - `System.DateTime`

The value for Max

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Messages(System.Action)

The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages.

#### Parameters

##### configurator - System.Action<[SchedulerMessagesSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulermessagessettingsbuilder)>

The configurator for the messages setting.

#### RETURNS

Returns the current instance of [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) .

### Min(System.DateTime)

Constraints the minimum date which can be selected via the scheduler navigation.

#### Parameters

##### value - `System.DateTime`

The value for Min

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTickCount(System.Int32)

The number of time slots to display per major tick.

#### Parameters

##### value - `System.Int32`

The value for MinorTickCount

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTimeHeaderTemplate(System.String)

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### value - `System.String`

The value for MinorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTimeHeaderTemplateId(System.String)

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateId - `System.String`

The ID of the template element for MinorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTimeHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for MinorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTimeHeaderTemplateHandler(System.String)

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for MinorTimeHeaderTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### MinorTimeHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the minortimeheadertemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### OngoingEvents(System.Action)

The settings for the ongoing events highlight. The highlight is disabled by default. If you need to turn it on, set this option to true, or use a configuration object with its nested options.

#### Parameters

##### configurator - System.Action<[SchedulerOngoingEventsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerongoingeventssettingsbuilder)>

The configurator for the ongoingevents setting.

#### RETURNS

Returns the current instance of [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) .

### OngoingEvents(System.Boolean)

The settings for the ongoing events highlight. The highlight is disabled by default. If you need to turn it on, set this option to true, or use a configuration object with its nested options.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the ongoingevents option.

#### RETURNS

Returns the current instance of [SchedulerOngoingEventsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerongoingeventssettingsbuilder) .

### Pdf(System.Action)

Configures the Kendo UI Scheduler PDF export settings.

#### Parameters

##### configurator - System.Action<[SchedulerPdfSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerpdfsettingsbuilder)>

The configurator for the pdf setting.

#### RETURNS

Returns the current instance of [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) .

### RecurrenceRuleLabelTemplate(System.String)

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

#### Parameters

##### value - `System.String`

The value for RecurrenceRuleLabelTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### RecurrenceRuleLabelTemplateId(System.String)

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

#### Parameters

##### templateId - `System.String`

The ID of the template element for RecurrenceRuleLabelTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### RecurrenceRuleLabelTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for RecurrenceRuleLabelTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### RecurrenceRuleLabelTemplateHandler(System.String)

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for RecurrenceRuleLabelTemplate

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### RecurrenceRuleLabelTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the recurrencerulelabeltemplate.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Selectable(System.Boolean)

If set to true the user would be able to select scheduler cells and events. By default selection is disabled.

#### Parameters

##### value - `System.Boolean`

The value for Selectable

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Selectable()

If set to true the user would be able to select scheduler cells and events. By default selection is disabled.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### ShowWorkHours(System.Boolean)

If set to true the view will be initially shown in business hours mode. By default view is displayed in full day mode.

#### Parameters

##### value - `System.Boolean`

The value for ShowWorkHours

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### ShowWorkHours()

If set to true the view will be initially shown in business hours mode. By default view is displayed in full day mode.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Snap(System.Boolean)

If set to true the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to false to allow free moving and resizing of events.

#### Parameters

##### value - `System.Boolean`

The value for Snap

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### StartTime(System.DateTime)

The start time of the week and day views. The scheduler will display events starting after the startTime.

#### Parameters

##### value - `System.DateTime`

The value for StartTime

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Timezone(System.String)

The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the scheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service. That way all users would see the same dates and times no matter their configured system timezone.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.

#### Parameters

##### value - `System.String`

The value for Timezone

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Width(System.Double)

The width of the widget. Numeric values are treated as pixels.

#### Parameters

##### value - `System.Double`

The value for Width

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### WorkDayStart(System.DateTime)

Sets the start of the work day when the "Show business hours" button is clicked.

#### Parameters

##### value - `System.DateTime`

The value for WorkDayStart

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### WorkDayEnd(System.DateTime)

Sets the end of the work day when the "Show business hours" button is clicked.

#### Parameters

##### value - `System.DateTime`

The value for WorkDayEnd

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### WorkWeekStart(System.Int32)

The start of working week (index based).

#### Parameters

##### value - `System.Int32`

The value for WorkWeekStart

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### WorkWeekEnd(System.Int32)

The end of working week (index based).

#### Parameters

##### value - `System.Int32`

The value for WorkWeekEnd

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Mobile(Kendo.Mvc.UI.MobileMode)

Defines the mobile modes supported by Kendo UI Scheduler for ASP.NET MVC

#### Parameters

##### value - [MobileMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/mobilemode)

The value for Mobile

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

### Events(System.Action)

Configures the client-side events.

#### Parameters

##### configurator - System.Action<[SchedulerEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulereventbuilder)>

The client events action.

#### RETURNS

Returns the current [SchedulerBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/schedulerbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Scheduler()
                  .Name("Scheduler")
                  .Events(events => events
                      .Add("onAdd")
                  )
            )
             
```

### ToComponent()

Returns the internal view component.

#### RETURNS

The  instance that represents the component.

### Expression(System.String)

Sets the name of the component.

#### Parameters

##### modelExpression - `System.String`

The name.

#### RETURNS

Returns the current  instance.

### Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

#### Parameters

##### modelExplorer - `Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer`

The name.

#### RETURNS

Returns the current  instance.

### Name(System.String)

Sets the name of the component.

#### Parameters

##### componentName - `System.String`

The name.

#### RETURNS

Returns the current  instance.

### Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with Kendo.Mvc.UI.Fluent.WidgetFactory.DeferredScripts(System.Boolean,System.Boolean)

#### Parameters

##### deferred - `System.Boolean`

#### RETURNS

Returns a [DeferredWidgetBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/deferredwidgetbuilder) instance.

### HtmlAttributes(System.Object)

Sets the HTML attributes.

#### Parameters

##### attributes - `System.Object`

The HTML attributes.

#### RETURNS

Returns the current  instance.

### HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

#### Parameters

##### attributes - `System.Collections.Generic.IDictionary<String,Object>`

The HTML attributes.

#### RETURNS

Returns the current  instance.

### ScriptAttributes(System.Object,System.Boolean)

Sets the JavaScript attributes to the initialization script.

#### Parameters

##### attributes - `System.Object`

The JavaScript attributes.

##### overrideAttributes - `System.Boolean`

Argument which determines whether attributes should be overriden.

#### RETURNS

Returns the current  instance.

### ScriptAttributes(System.Collections.Generic.IDictionary,System.Boolean)

Sets the JavaScript attributes to the initialization script.

#### Parameters

##### attributes - `System.Collections.Generic.IDictionary<String,Object>`

The JavaScript attributes.

##### overrideAttributes - `System.Boolean`

Argument which determines whether attributes should be overriden.

#### RETURNS

Returns the current  instance.

### Render()

Renders the component in place.

### ToHtmlString()

Returns the HTML representation of the component.

### WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

#### Parameters

##### writer - `System.IO.TextWriter`

##### encoder - `System.Text.Encodings.Web.HtmlEncoder`

### ToClientTemplate()

Returns the client template for the component.

### AsModule(System.Boolean)

Specifies whether the initialization script of the component will be rendered as a JavaScript module.

#### Parameters

##### value - `System.Boolean`

#### RETURNS

Returns the current  instance.
