Class TickTemplateSelector
Provides a way to choose a DataTemplate for the Tick based on the data object and the data-bound element.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class TickTemplateSelector : DataTemplateSelector
Constructors
TickTemplateSelector()
Declaration
public TickTemplateSelector()
Properties
MajorTickTemplate
Gets or sets the DataTemplate of the MajorTick.
Declaration
public DataTemplate MajorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MinorTickTemplate
Gets or sets the DataTemplate of the MinorTick.
Declaration
public DataTemplate MinorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
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)
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
Returns a DataTemplate or null. |