# Calendar Settings

## Content



The **Scheduler** control uses the set of calendar settings defined via the corresponding properties of the <span data-popup-content="This class is available in both \u003ca href=\u0022/componentone/api/wpf/online-scheduler/dotnet-api/C1.WPF.Schedule/C1.WPF.Schedule.CalendarHelper.html\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/api/wpf/online-scheduler/dotnet-api/C1.WPF.Schedule/C1.WPF.Schedule.CalendarHelper.html\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="CalendarHelper" data-popup-theme="ui-tooltip-green qtip-green">CalendarHelper</span> class. For example, you can create a work week calendar by specifying the work days through the **CalendarHelper** class. Notice that the XAML for the CalendarHelper class is the same for all three controls.

```xml
<c1:C1Scheduler x:Name="scheduler1" ViewType="Week">
    <c1:C1Scheduler.CalendarHelper>
        <c1:CalendarHelper WeekStart="Sunday"
            EndDayTime="18:20:00" StartDayTime="09:20:00"
            WorkDays="Tuesday,Wednesday,Thursday,Friday,Saturday">
        </c1:CalendarHelper>
    </c1:C1Scheduler.CalendarHelper>
</c1:C1Scheduler>
```

![Creating a Work Week Calendar with WPF Scheduler](https://cdn.mescius.io/document-site-files/images/4c5f07fe-a0aa-4d09-95ef-6685908019cd/graphics/calendarsettings.png)

The following calendar settings are available:

|   **CalendarHelper Property**   |   **Description**   |
| --- | --- |
|   WeekStart   |   Gets or sets the DayOfWeek value determining the first day of the week. The default is system settings.   |
|   WorkDays   |   Gets or sets the WorkDays object containing the set of working days in one week.   |
|   StartDayTime   |   Gets or sets the TimeSpan value specifying the beginning of the working time.   |
|   EndDayTime   |   Gets or sets the TimeSpan value specifying the end of the working time.   |
|   Holidays   |   Gets or sets ObservableCollection\<DateTime> object which holds the list of holidays (non-working days in addition to weekends).   |
|   WeekendExceptions   |   Gets or sets the ObservableCollection\<DateTime> object which holds the list of weekend days which should be working.   |
|   FullMonthNames   |   Gets an array of culture specific full month names.   |