[]
This class provides a way to choose a DataTemplate for the VisualInterval object representing the single time slot in DayView/WorkWeekView modes.
public class TimeSlotTemplateSelector : C1DataTemplateSelector
For the sample of using look at OneDayStyleBase in generic.xaml.
Create an instance of this class:
<local:TimeSlotTemplateSelector x:Key="TimeSlotTemplateSelector"/>
Specify ItemsControl.ItemTemplateSelector for the C1SchedulerPresenter object:
<local:C1SchedulerPresenter ItemTemplateSelector="{StaticResource TimeSlotTemplateSelector}" />
Name | Description |
---|---|
TimeSlotTemplateSelector() |
Name | Description |
---|---|
SelectTemplate(object, DependencyObject) | Returns the DataTemplate object for the specified group if it is found in resources. |