Class TimeRulerItemTemplateSelector
Provides a way to choose a DataTemplate for the TimeRulerItem based on the data object and the data-bound element.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class TimeRulerItemTemplateSelector : ScheduleViewDataTemplateSelector
Constructors
TimeRulerItemTemplateSelector()
Declaration
public TimeRulerItemTemplateSelector()
Properties
HorizontalDayMajorItemTemplate
Gets or sets the horizontal template of the DayMajorItem.
Declaration
public DataTemplate HorizontalDayMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalDayMinorItemTemplate
Gets or sets the horizontal template of the DayMinorItem.
Declaration
public DataTemplate HorizontalDayMinorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalTimelineGroupTemplate
Gets or sets the horizontal template of the TimelineGroup.
Declaration
public DataTemplate HorizontalTimelineGroupTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalTimelineMajorItemTemplate
Gets or sets the horizontal template of the TimelineMajorItem.
Declaration
public DataTemplate HorizontalTimelineMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalTimelineMinorItemTemplate
Gets or sets the horizontal template of the TimelineMinorItem.
Declaration
public DataTemplate HorizontalTimelineMinorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalWeekMajorItemTemplate
Gets or sets the horizontal template of the WeekMajorItem.
Declaration
public DataTemplate HorizontalWeekMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
HorizontalWeekMinorItemTemplate
Gets or sets the horizontal template of the WeekMinorItem.
Declaration
public DataTemplate HorizontalWeekMinorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MonthGroupTemplate
Gets or sets the template of the MonthGroup.
Declaration
public DataTemplate MonthGroupTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MonthItemTemplate
Gets or sets the template of the MonthItem.
Declaration
public DataTemplate MonthItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalDayMajorItemTemplate
Gets or sets the vertical template of the DayMajorItem.
Declaration
public DataTemplate VerticalDayMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalDayMinorItemTemplate
Gets or sets the vertical template of the DayMinorItem.
Declaration
public DataTemplate VerticalDayMinorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalTimelineGroupTemplate
Gets or sets the vertical template of the TimelineGroup.
Declaration
public DataTemplate VerticalTimelineGroupTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalTimelineMajorItemTemplate
Gets or sets the vertical template of the TimelineMajorItem.
Declaration
public DataTemplate VerticalTimelineMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalTimelineMinorItemTemplate
Gets or sets the vertical template of the TimelineMinorItem.
Declaration
public DataTemplate VerticalTimelineMinorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalWeekMajorItemTemplate
Gets or sets the vertical template of the WeekMajorItem.
Declaration
public DataTemplate VerticalWeekMajorItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalWeekMinorItemTemplate
Gets or sets the vertical template of the WeekMinorItem.
Declaration
public DataTemplate VerticalWeekMinorItemTemplate { get; set; }
Property Value
System.Windows.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
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
ViewDefinitionBase
activeViewDefinition
The active view definition of ScheduleView. |
Returns
System.Windows.DataTemplate
Returns a DataTemplate or null. |