Class TimelineItemTemplateSelector
Selects a System.Windows.DataTemplate for an instant timeline item or an item with duration.
Inheritance
Namespace: Telerik.Windows.Controls.Timeline
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class TimelineItemTemplateSelector : DataTemplateSelector
Constructors
TimelineItemTemplateSelector()
Declaration
public TimelineItemTemplateSelector()
Properties
TimelineInstantItemTemplate
Gets or sets the timeline instant item template.
Declaration
public DataTemplate TimelineInstantItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The timeline instant item template. |
TimelineItemTemplate
Gets or sets the event template.
Declaration
public DataTemplate TimelineItemTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The event template. |
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a DataTemplate based on custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
Returns
System.Windows.DataTemplate
|