Scheduler for WPF
TimeSlotGroupStyleSelector クラス
メンバ 

C1.WPF.Schedule アセンブリ > C1.WPF.Schedule 名前空間 : TimeSlotGroupStyleSelector クラス
This class provides a way to apply time slot group styles for working/free hours in DayView/WorkWeekView modes.
オブジェクト モデル
TimeSlotGroupStyleSelector クラス
シンタックス
'宣言
 
Public Class TimeSlotGroupStyleSelector 
   Inherits C1.WPF.Core.C1StyleSelector
public class TimeSlotGroupStyleSelector : C1.WPF.Core.C1StyleSelector 
解説
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}">

継承階層

System.Object
   System.Windows.Controls.StyleSelector
      C1.WPF.Core.C1StyleSelector
         C1.WPF.Schedule.TimeSlotGroupStyleSelector

参照

TimeSlotGroupStyleSelector メンバ
C1.WPF.Schedule 名前空間