C1.Silverlight.Schedule.5
TimeSlotGroupStyleSelector Class
Members 

This class provides a way to apply time slot group styles for working/free hours in DayView/WorkWeekView modes.
Object Model
TimeSlotGroupStyleSelector Class
Syntax
'Declaration
 
Public Class TimeSlotGroupStyleSelector 
   Inherits C1.Silverlight.C1StyleSelector
public class TimeSlotGroupStyleSelector : C1.Silverlight.C1StyleSelector 
Remarks
For the sample of using look at OneDayStyleBase in generic.xaml.
  1. Create an instance of this class:

    <local:TimeSlotGroupStyleSelector x:Key="TimeSlotGroupStyleSelector"/>

  2. Define two group styles:
    • with the key "PART_C1Scheduler_WorkHour_Style" for work hours;
    • with the key "PART_C1Scheduler_FreeHour_Style" for free hours.
  3. Specify style selector in the group definition:

    <GroupStyle ContainerStyleSelector="{StaticResource TimeSlotGroupStyleSelector}">

Inheritance Hierarchy

System.Object
   C1.Silverlight.C1StyleSelector
      C1.Silverlight.Schedule.TimeSlotGroupStyleSelector

See Also

Reference

TimeSlotGroupStyleSelector Members
C1.Silverlight.Schedule Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.