ComponentOne Scheduler for WPF and Silverlight
XAML Quick Reference / EX: Set the Days of the Week for Working Week View
In This Topic
    EX: Set the Days of the Week for Working Week View
    In This Topic

    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>