# Week View

## Overview

The Week view by default shows a full seven-day week week at a time, which can be set to start at a predefined day (say Monday, or Sunday). To move to the next or previous week, you can use the back and forward keyboard arrows, or the [SchedulerNavigator](https://www.telerik.com/products/winforms/documentation/controls/scheduler/scheduler-navigator/overview) control, which also allows you to control whether to show weekends or not.

> caption Figure 1: Week View

![WinForms RadScheduler Week View](https://www.telerik.com/products/winforms/documentation/assets/bac3b1b91719a2c1c6360c114e417091/scheduler-views-week-view001.png)

## Set Week View

To explicitly set the Work Week to be the default view which the user sees on the form:

#### Set ActiveViewType

```C#
this.radScheduler1.ActiveViewType = SchedulerViewType.Week;

```

```VB.NET
Me.RadScheduler1.ActiveViewType = SchedulerViewType.Week

```

## Get Week View

To get the instance to the SchedulerWeek view from the RadScheduler object, either:

* use the **GetWeekView** method:

#### GetWeekView Method

```C#
SchedulerWeekView weekView = this.radScheduler1.GetWeekView();
```

```VB.NET
Dim weekView As SchedulerWeekView = Me.RadScheduler1.GetWeekView()

```

> note This method returns null if the active view of the scheduler is not SchedulerWeekView.

* use the RadScheduler **ActiveView** property:             

#### ActiveView Property

```C#
if (this.radScheduler1.ActiveViewType == SchedulerViewType.Week)
{
    SchedulerWeekView activeWeekView = (SchedulerWeekView)this.radScheduler1.ActiveView;
}
```

```VB.NET
If Me.RadScheduler1.ActiveViewType = SchedulerViewType.Week Then
    Dim activeWeekView As SchedulerWeekView = CType(Me.RadScheduler1.ActiveView, SchedulerWeekView)
End If

```

## Showing/Hiding The Weekend

By default the weekends are shown, but you can hide them by using the **ShowWeekend** property:

#### Show Weekend

```C#
weekView.ShowWeekend = false;

```

```VB.NET
weekView.ShowWeekend = False

```

## See Also

* [Common Visual Properties](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/common-visual-properties)
* [Working with Views](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/working-with-views)
* [Views Walkthrough](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/views-walkthrough)
* [Grouping by Resources](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/grouping-by-resources)
* [Exact Time Rendering](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/exact-time-rendering)
