# RadzenWeekView Class

Displays the appointments in a week 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)
- RadzenWeekView

## Implements

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

## Syntax

```csharp
public class RadzenWeekView : SchedulerViewBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView
```

## Constructors

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

## Properties

| Property | Type | Description |
|------|------|-------------|
| AllDayText | `string` | Gets or sets the text displayed in the header of the all-day row when the view groups appointments by resource. Set to All day by default. |
| EndDate | `DateTime` |  |
| EndTime | `TimeSpan` | Gets or sets the end time. |
| HeaderFormat | `string` | Gets or sets the format used to display the header text. |
| Icon | `string` |  |
| MinutesPerSlot | `int` | Gets or sets slot size in minutes. Set to 30 by default. |
| ShowAllDay | `bool` | Gets or sets a value indicating whether a dedicated all-day row is displayed when the view groups appointments by resource. All-day appointments are displayed in it instead of the time grid. Set to true by default. |
| StartDate | `DateTime` |  |
| StartTime | `TimeSpan` | Gets or sets the start time. |
| Text | `string` |  |
| TimeFormat | `string` | Gets or sets the time format. |
| Title | `string` |  |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Next()` | `DateTime` |  |
| `Prev()` | `DateTime` |  |
| `Render()` | `RenderFragment` |  |
| `SetParametersAsync(ParameterView parameters)` | `Task` | Called by the Blazor runtime when parameters are set. Parameters: `parameters`: The parameters. |

## Inherited Members

- 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

