Class
TimeRulerItemTemplateSelector

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:

cs-api-definition
public class TimeRulerItemTemplateSelector : ScheduleViewDataTemplateSelector

Inheritance: objectScheduleViewDataTemplateSelectorTimeRulerItemTemplateSelector

Constructors

TimeRulerItemTemplateSelector()

Declaration

cs-api-definition
public TimeRulerItemTemplateSelector()

Properties

HorizontalDayMajorItemTemplate

Gets or sets the horizontal template of the DayMajorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalDayMajorItemTemplate { get; set; }

Property Value

DataTemplate

HorizontalDayMinorItemTemplate

Gets or sets the horizontal template of the DayMinorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalDayMinorItemTemplate { get; set; }

Property Value

DataTemplate

HorizontalTimelineGroupTemplate

Gets or sets the horizontal template of the TimelineGroup.

Declaration

cs-api-definition
public DataTemplate HorizontalTimelineGroupTemplate { get; set; }

Property Value

DataTemplate

HorizontalTimelineMajorItemTemplate

Gets or sets the horizontal template of the TimelineMajorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalTimelineMajorItemTemplate { get; set; }

Property Value

DataTemplate

HorizontalTimelineMinorItemTemplate

Gets or sets the horizontal template of the TimelineMinorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalTimelineMinorItemTemplate { get; set; }

Property Value

DataTemplate

HorizontalWeekMajorItemTemplate

Gets or sets the horizontal template of the WeekMajorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalWeekMajorItemTemplate { get; set; }

Property Value

DataTemplate

HorizontalWeekMinorItemTemplate

Gets or sets the horizontal template of the WeekMinorItem.

Declaration

cs-api-definition
public DataTemplate HorizontalWeekMinorItemTemplate { get; set; }

Property Value

DataTemplate

MonthGroupTemplate

Gets or sets the template of the MonthGroup.

Declaration

cs-api-definition
public DataTemplate MonthGroupTemplate { get; set; }

Property Value

DataTemplate

MonthItemTemplate

Gets or sets the template of the MonthItem.

Declaration

cs-api-definition
public DataTemplate MonthItemTemplate { get; set; }

Property Value

DataTemplate

VerticalDayMajorItemTemplate

Gets or sets the vertical template of the DayMajorItem.

Declaration

cs-api-definition
public DataTemplate VerticalDayMajorItemTemplate { get; set; }

Property Value

DataTemplate

VerticalDayMinorItemTemplate

Gets or sets the vertical template of the DayMinorItem.

Declaration

cs-api-definition
public DataTemplate VerticalDayMinorItemTemplate { get; set; }

Property Value

DataTemplate

VerticalTimelineGroupTemplate

Gets or sets the vertical template of the TimelineGroup.

Declaration

cs-api-definition
public DataTemplate VerticalTimelineGroupTemplate { get; set; }

Property Value

DataTemplate

VerticalTimelineMajorItemTemplate

Gets or sets the vertical template of the TimelineMajorItem.

Declaration

cs-api-definition
public DataTemplate VerticalTimelineMajorItemTemplate { get; set; }

Property Value

DataTemplate

VerticalTimelineMinorItemTemplate

Gets or sets the vertical template of the TimelineMinorItem.

Declaration

cs-api-definition
public DataTemplate VerticalTimelineMinorItemTemplate { get; set; }

Property Value

DataTemplate

VerticalWeekMajorItemTemplate

Gets or sets the vertical template of the WeekMajorItem.

Declaration

cs-api-definition
public DataTemplate VerticalWeekMajorItemTemplate { get; set; }

Property Value

DataTemplate

VerticalWeekMinorItemTemplate

Gets or sets the vertical template of the WeekMinorItem.

Declaration

cs-api-definition
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

cs-api-definition
public override DataTemplate SelectTemplate(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)

Parameters

item

object

The data object for which to select the template.

container

DependencyObject

The data-bound object.

activeViewDefinition

ViewDefinitionBase

The active view definition of ScheduleView.

Returns

DataTemplate

Returns a DataTemplate or null.

Overrides ScheduleViewDataTemplateSelector.SelectTemplate(object, DependencyObject, ViewDefinitionBase)