C1Scheduler Task-Based Help > C1Scheduler Tasks > Setting the Days for Working Week View |
To specify the days of the week to appear in Working Week View, you can set the WorkDays through the C1Scheduler.CalendarHelper property.
Using Blend
To set the days for Working Week View in Blend:
Using Visual Studio
To set the days for Working Week View in Visual Studio:
Using XAML
The following XAML sets the days of the week for Working Week View:
XAML |
Copy Code
|
---|---|
<c1:C1Scheduler x:Name="scheduler1" Theme="{DynamicResource {ComponentResourceKey TypeInTargetAssembly=c1sched:C1Scheduler, ResourceId=Office2007.Default}}" Style="{DynamicResource {ComponentResourceKey TypeInTargetAssembly=c1sched:C1Scheduler, ResourceId=WorkingWeekStyle}}"> <c1:C1Scheduler.CalendarHelper> <c1:CalendarHelper Culture="English " WeekStart="Sunday" EndDayTime="18:20:00" StartDayTime="09:20:00" WorkDays="Tuesday,Wednesday,Thursday,Friday,Saturday"> </c1:CalendarHelper> </c1:C1Scheduler.CalendarHelper> </c1:C1Scheduler> |