Class AppointmentItemContentTemplateSelector
Provides a way to choose a DataTemplate for the AppointmentItem based on the data object and the data-bound element.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class AppointmentItemContentTemplateSelector : DataTemplateSelector
Constructors
AppointmentItemContentTemplateSelector()
Declaration
public AppointmentItemContentTemplateSelector()
Properties
DefaultTemplate
Declaration
public DataTemplate DefaultTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
Returns a DataTemplate for the AppointmentItem 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
The DataTemplate for the AppointmentItem. |