# RadzenYearView Class

Displays the appointments in a month day in [RadzenScheduler<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenScheduler-1.md)

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [SchedulerViewBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.SchedulerViewBase.md)
- [SchedulerYearViewBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.SchedulerYearViewBase.md)
- RadzenYearView

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender
- [ISchedulerView](https://blazor.radzen.com/docs/api/Radzen.Blazor.ISchedulerView.md)

## Syntax

```csharp
public class RadzenYearView : SchedulerYearViewBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView
```

## Examples

```razor
<RadzenScheduler Data="@appointments">
    <RadzenMonthView />
</RadzenScheduler>
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenYearView()` | Displays the appointments in a month day in [RadzenScheduler<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenScheduler-1.md) |

## Properties

| Property | Type | Description |
|------|------|-------------|
| EndDate | `DateTime` |  |
| Icon | `string` |  |
| MoreText | `string` | Specifies the text displayed when there are more appointments in a slot than MaxAppointmentsInSlot. |
| NoDayEventsText | `string` | Specifies the text displayed when the user clicks on a day with no events in the year view |
| StartDate | `DateTime` |  |
| StartMonth | [`Month`](https://blazor.radzen.com/docs/api/Radzen.Month.md) | Gets or sets the start month for the year views />. |
| Text | `string` |  |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Next()` | `DateTime` |  |
| `Prev()` | `DateTime` |  |
| `Render()` | `RenderFragment` |  |

## Inherited Members

- From [SchedulerYearViewBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.SchedulerYearViewBase.md): GetYearRange, SetParametersAsync, Title
- From [SchedulerViewBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.SchedulerViewBase.md): AppointmentsForResources, Dispose, FormatTitle, GroupBy, GroupByResource, GroupOrientation, HasResourceGroups, IsFirstResourcePath, Localize, OnAppointmentMove, ResourcePaths, ResourceTypes, Scheduler, TitleFormat, TitleFormatter
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitialized, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

