# Data Views

## Content



Scheduler provides the following predefined data views that determine the style used in the control:

| **View** | **Description** |
| --- | --- |
|   Day  ![Day View](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/images/dayview.png)  Day View     | Displays a detailed view showing appointments for a particular day. |
|   TimeLine  ![TimeLine View](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/images/timeline.png)  TimeLine View     | Displays appointments in a horizontal time line. |
|   Month  ![Month View](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/images/monthview.png)  Month View     | Displays appointments for one or more months. |
|   Week  ![Week View](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/images/weekview.png)  Week View     | Displays appointments for specified work days. |
|   WorkWeek  ![WorkWeek View](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/images/workingweekview.png)  WorkWeek View     | Displays appointments for any given weekly period. The default is Monday through Friday. |

The default data view for the Scheduler control is Month view. However, you can change the default data view by setting the **ViewType** property. This property determines which style should be used in the control using the [ViewType](/componentone/api/wpf/online-scheduler/dotnet-api/C1.WPF.Schedule/C1.WPF.Schedule.ViewType.html) enumeration.

**xml**

```xml
<c1:C1Scheduler x:Name="scheduler" ViewType="Day"></c1:C1Scheduler>
```

**csharp**

```csharp
scheduler.ViewType = ViewType.Day;
```