[]
        
(Showing Draft Content)

C1.WPF.Schedule.DayIntervalStyleSelector

DayIntervalStyleSelector Class

This class provides a way to apply day group styles for ordinal/current days.

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

For the sample of using look at OneDayStyleBase in generic.xaml.

  1. Create an instance of this class:

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

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

    <GroupStyle ContainerStyleSelector="{StaticResource DayIntervalStyleSelector}">

Constructors

Name Description
DayIntervalStyleSelector()

Methods

Name Description
SelectStyle(object, DependencyObject)