ClassTimeRulerItemTemplateSelector
Provides a way to choose a DataTemplate for the TimeRulerItem based on the data object and the data-bound element.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class TimeRulerItemTemplateSelector : ScheduleViewDataTemplateSelector
Inheritance: objectScheduleViewDataTemplateSelectorTimeRulerItemTemplateSelector
Constructors
TimeRulerItemTemplateSelector()
Declaration
public TimeRulerItemTemplateSelector()
Properties
HorizontalDayMajorItemTemplate
Gets or sets the horizontal template of the DayMajorItem.
Declaration
public DataTemplate HorizontalDayMajorItemTemplate { get; set; }
Property Value
DataTemplate
HorizontalDayMinorItemTemplate
Gets or sets the horizontal template of the DayMinorItem.
Declaration
public DataTemplate HorizontalDayMinorItemTemplate { get; set; }
Property Value
DataTemplate
HorizontalTimelineGroupTemplate
Gets or sets the horizontal template of the TimelineGroup.
Declaration
public DataTemplate HorizontalTimelineGroupTemplate { get; set; }
Property Value
DataTemplate
HorizontalTimelineMajorItemTemplate
Gets or sets the horizontal template of the TimelineMajorItem.
Declaration
public DataTemplate HorizontalTimelineMajorItemTemplate { get; set; }
Property Value
DataTemplate
HorizontalTimelineMinorItemTemplate
Gets or sets the horizontal template of the TimelineMinorItem.
Declaration
public DataTemplate HorizontalTimelineMinorItemTemplate { get; set; }
Property Value
DataTemplate
HorizontalWeekMajorItemTemplate
Gets or sets the horizontal template of the WeekMajorItem.
Declaration
public DataTemplate HorizontalWeekMajorItemTemplate { get; set; }
Property Value
DataTemplate
HorizontalWeekMinorItemTemplate
Gets or sets the horizontal template of the WeekMinorItem.
Declaration
public DataTemplate HorizontalWeekMinorItemTemplate { get; set; }
Property Value
DataTemplate
MonthGroupTemplate
Gets or sets the template of the MonthGroup.
Declaration
public DataTemplate MonthGroupTemplate { get; set; }
Property Value
DataTemplate
MonthItemTemplate
Gets or sets the template of the MonthItem.
Declaration
public DataTemplate MonthItemTemplate { get; set; }
Property Value
DataTemplate
VerticalDayMajorItemTemplate
Gets or sets the vertical template of the DayMajorItem.
Declaration
public DataTemplate VerticalDayMajorItemTemplate { get; set; }
Property Value
DataTemplate
VerticalDayMinorItemTemplate
Gets or sets the vertical template of the DayMinorItem.
Declaration
public DataTemplate VerticalDayMinorItemTemplate { get; set; }
Property Value
DataTemplate
VerticalTimelineGroupTemplate
Gets or sets the vertical template of the TimelineGroup.
Declaration
public DataTemplate VerticalTimelineGroupTemplate { get; set; }
Property Value
DataTemplate
VerticalTimelineMajorItemTemplate
Gets or sets the vertical template of the TimelineMajorItem.
Declaration
public DataTemplate VerticalTimelineMajorItemTemplate { get; set; }
Property Value
DataTemplate
VerticalTimelineMinorItemTemplate
Gets or sets the vertical template of the TimelineMinorItem.
Declaration
public DataTemplate VerticalTimelineMinorItemTemplate { get; set; }
Property Value
DataTemplate
VerticalWeekMajorItemTemplate
Gets or sets the vertical template of the WeekMajorItem.
Declaration
public DataTemplate VerticalWeekMajorItemTemplate { get; set; }
Property Value
DataTemplate
VerticalWeekMinorItemTemplate
Gets or sets the vertical template of the WeekMinorItem.
Declaration
public DataTemplate VerticalWeekMinorItemTemplate { get; set; }
Property Value
DataTemplate
Methods
SelectTemplate(object, DependencyObject, ViewDefinitionBase)
When overridden in a derived class, returns a System.Windows.DataTemplate based on a custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
Parameters
item
The data object for which to select the template.
container
DependencyObject
The data-bound object.
activeViewDefinition
The active view definition of ScheduleView.
Returns
DataTemplate
Returns a DataTemplate or null.
Overrides