# Blazor Scheduler Overview

The <a href="https://www.telerik.com/blazor-ui/scheduler" target="_blank">Blazor Scheduler component</a> lets users see, edit and add appointments, so they can plan their agenda. The Scheduler offers different views, control over the workday start and end, resource grouping and various other features and settings.

## Creating Blazor Scheduler

1. Use the `<TelerikScheduler>` tag.
2. Set its `Data` parameter to `IEnumerable<TItem>` to define the collection of appointments (events). The Scheduler can [detect and use some property names in the model](https://www.telerik.com/blazor-ui/documentation/components/scheduler/data-bind#appointment-features), such as `Title`, `Description`, `Start`, `End` and others. Alternatively, you can use different property names and configure them explicitly. See [Data Binding](https://www.telerik.com/blazor-ui/documentation/components/scheduler/data-bind) for more details.
3. Define the available views that users can toggle. Each view will be a child tag inside `<SchedulerViews>`.
4. (optional) Set `StartTime` and `EndTime` for the views, unless users should see the full 24 hours. Only the time portion of these `DateTime` objects will matter.
5. (optional) Set the Scheduler's `Date` and `View` parameters. By default, users will see today's date and the first view. Both parameters support two-way binding.

> caption Basic Scheduler

<demo metaUrl="client/scheduler/overview/example-1/" height="780"></demo>

## Data Binding

As a data-driven component, the Scheduler needs a collection of appointments to work with. Learn how to [data bind the Scheduler and configure model property names](https://www.telerik.com/blazor-ui/documentation/components/scheduler/data-bind).

To load only the appointments for the currently visible range from a backend, see [Load Scheduler appointments on demand](https://www.telerik.com/blazor-ui/documentation/knowledge-base/scheduler-load-on-demand).

## Views

The [Scheduler offers different views](https://www.telerik.com/blazor-ui/documentation/components/scheduler/views/overview) that are suitable for different user needs:

* Day view
* Multiday view
* Week view
* Month view
* Timeline (agenda) view

## Navigation

The [Scheduler features extensive navigation](https://www.telerik.com/blazor-ui/documentation/components/scheduler/navigation), which can be both programmatic and managed by the end user. The component can change the currently visible time range, the current view, and toggle business hours only display.

## Editing

Users can [create, edit and delete Scheduler appointments](https://www.telerik.com/blazor-ui/documentation/components/scheduler/editing/edit-appointments). The component provides you with the new information so you can store it to the underlying data source.

## Recurrence

The Scheduler can display and edit [recurring appointments and recurrence exceptions](https://www.telerik.com/blazor-ui/documentation/components/scheduler/recurrence). Telerik UI for Blazor also provides standalone [recurrence editor components](https://www.telerik.com/blazor-ui/documentation/components/scheduler/recurrence#recurrence-editor-components) that you can use to edit recurrence rules in a custom edit form.

## Resources and Grouping

[Scheduler resources](https://www.telerik.com/blazor-ui/documentation/components/scheduler/resources) provide a way to associate and [group appointments](https://www.telerik.com/blazor-ui/documentation/components/scheduler/resource-grouping) by certain criteria, such as a meeting room, a participating person, or used equipment.

## Templates

You can [customize the appointment appearance and content via Scheduler templates](https://www.telerik.com/blazor-ui/documentation/components/scheduler/templates/appointment). Another option is to use the [Scheduler `OnItemRender` event](https://www.telerik.com/blazor-ui/documentation/components/scheduler/events#onitemrender).

## Events

The [Scheduler component fires events](https://www.telerik.com/blazor-ui/documentation/components/scheduler/events) related to CRUD operations, item (appointment) clicks and user navigation. Use them to gain more information about user actions and enhance the component behavior.

## Scheduler Parameters

The following table lists Scheduler parameters, which are not discussed elsewhere in the component documentation. Also check the [Scheduler API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikscheduler-1) for a full list of parameters, events and methods.

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter               | Type and Default Value | Description                                                                                                                                                                                  |
| ----------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Class`                 | `string`               | A custom CSS class for the `<div class="k-scheduler">` element. Use it to [override theme styles](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/override-theme-styles). |
| `EnableLoaderContainer` | `bool` <br /> (`true`) | Determines if the Scheduler will display a loading animation for operations that take longer than 600 ms.                                                                                    |
| `Height`                | `string`               | A `height` style in [any supported unit](https://www.telerik.com/blazor-ui/documentation/common-features/dimensions).                                                                        |
| `Width`                 | `string`               | A `width` style in [any supported unit](https://www.telerik.com/blazor-ui/documentation/common-features/dimensions).                                                                         |

## Scheduler Reference and Methods

To execute Scheduler methods, obtain reference to the component instance with `@ref`.

| Method    | Description                                      |
| --------- | ------------------------------------------------ |
| `Rebind`  | Use to refresh the component data.               |
| `Refresh` | Use to programmatically re-render the Scheduler. |

<div class="skip-repl"></div>

<demo metaUrl="client/scheduler/overview/example-2/" height="780"></demo>

## Next Steps

* [Bind the Scheduler to data](https://www.telerik.com/blazor-ui/documentation/components/scheduler/data-bind)
* [Configure Scheduler views](https://www.telerik.com/blazor-ui/documentation/components/scheduler/views/overview)
* [Enable Scheduler editing](https://www.telerik.com/blazor-ui/documentation/components/scheduler/editing/edit-appointments)

## See Also

* [Live Demo: Scheduler](https://demos.telerik.com/blazor-ui/scheduler/overview)
* [Scheduler API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikscheduler-1)
