[]
        
(Showing Draft Content)

C1.WPF.Schedule.DayGroupStyleSelector

DayGroupStyleSelector Class

This class provides a way to apply day group styles in DayView/WorkWeekView modes.

Inheritance
DayGroupStyleSelector
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class DayGroupStyleSelector : C1StyleSelector
Remarks

For the sample of using look at OneDayStyle in themes/SchedulerThemes/Office2007/Blue.xaml.

  1. Create an instance of this class:

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

  2. Define two group styles:
    • with the key "PART_C1Scheduler_Day_Style" for ordinal day style;
    • with the key "PART_C1Scheduler_Today_Style" for the current day style.
  3. Specify style selector in the group definition:

    <GroupStyle ContainerStyleSelector="{StaticResource DayGroupStyleSelector}"/>

Constructors

Name Description
DayGroupStyleSelector()

Methods

Name Description
SelectStyle(object, DependencyObject)

Returns the Style object for the specified group if it is found in resources.