Scheduler for WPF
TimeSlotStyleSelector クラス
メンバ 

C1.WPF.Schedule アセンブリ > C1.WPF.Schedule 名前空間 : TimeSlotStyleSelector クラス
This class provides a way to apply time slot styles for working/free hours in DayView/WorkWeekView modes.
オブジェクト モデル
TimeSlotStyleSelector クラス
シンタックス
'宣言
 
Public Class TimeSlotStyleSelector 
   Inherits C1.WPF.Core.C1StyleSelector
public class TimeSlotStyleSelector : C1.WPF.Core.C1StyleSelector 
解説
For the sample of using look at OneDayStyle in generic.xaml.
  1. Create an instance of this class:

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

  2. Define two styles:
    • with the key "C1Scheduler_WorkSlot_Style" for work hours;
    • with the key "C1Scheduler_FreeSlot_Style" for free hours.
  3. Define two optional styles:
    • with the key "C1Scheduler_TopWorkSlot_Style" for the top slot in every work hour;
    • with the key "C1Scheduler_TopFreeSlot_Style" for the top slot in every free hour.
  4. Specify ItemContainerStyleSelector property for the C1SchedulerPresenter object:

    <local:C1SchedulerPresenter ItemContainerStyleSelector="{StaticResource TimeSlotTemplateSelector}" />

継承階層

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

参照

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